safepine_os.math.matrix_struct

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

Enums

ScalarOperations_t
enum ScalarOperations_t
VectorOperations_t
enum VectorOperations_t

Functions

BackwardSubstitution
MatrixStruct BackwardSubstitution(MatrixStruct U, MatrixStruct b)
ForwardSubstitution
MatrixStruct ForwardSubstitution(MatrixStruct L, MatrixStruct b)
Identity
MatrixStruct Identity(int n)
LUPSolve
MatrixStruct LUPSolve(MatrixStruct L, MatrixStruct U, MatrixStruct P, MatrixStruct b)
LUSolve
MatrixStruct LUSolve(MatrixStruct L, MatrixStruct U, MatrixStruct b)
ScalarOperations
ScalarOperations_t ScalarOperations(MatrixStruct A_IN, double val_IN, MatrixStruct result_OUT, string operation_IN)
VectorOperations
VectorOperations_t VectorOperations(MatrixStruct A_IN, MatrixStruct B_IN, MatrixStruct result_OUT, string operation_IN)
toCSV
string toCSV(MatrixStruct matrix_IN)
toInt
int toInt(ulong u)
toInt
int toInt(double d)

Structs

MatrixStruct
struct MatrixStruct