safepine_os.math.matrix

Copyright (C) 2026 Safepine LLC

This file is part of Safepine OS.

Safepine OS is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Safepine OS is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with Safepine OS. If not, see <https://www.gnu.org/licenses/>.

Members

Classes

Matrix
class Matrix

Functions

Diag
Matrix Diag(Matrix rowVector_IN)
noise
Matrix noise(Matrix matrix_IN, double mean, double var)
sin
Matrix sin(Matrix matrix_IN)
toCSV
string toCSV(Matrix matrix_IN)
toDouble_m
double[][] toDouble_m(Matrix matrix_IN)
toDouble_v
double[] toDouble_v(Matrix matrix_IN)
toInt_v
int[] toInt_v(Matrix matrix_IN)