Skip to content

matrix

Public Functions

Name
matrix(int r, int c)
~matrix()
void zero()
double * operator[](int i)
double & operator()(int i, int j)
bool solve(vector< double > & x, vector< double > & b)
bool lsq_solve(vector< double > & x, vector< double > & b)
bool eigen_vectors(matrix & Eigen, vector< double > & eigen_values)
int Rows()
void mult_transpose(vector< double > & x, vector< double > & y)
void mult_transpose_self(matrix & AAt)

Public Functions Documentation

function matrix

matrix(
    int r,
    int c
)

function ~matrix

inline ~matrix()

function zero

void zero()

function operator[]

inline double * operator[](
    int i
)

function operator()

inline double & operator()(
    int i,
    int j
)

function solve

bool solve(
    vector< double > & x,
    vector< double > & b
)

function lsq_solve

bool lsq_solve(
    vector< double > & x,
    vector< double > & b
)

function eigen_vectors

bool eigen_vectors(
    matrix & Eigen,
    vector< double > & eigen_values
)

function Rows

inline int Rows()

function mult_transpose

void mult_transpose(
    vector< double > & x,
    vector< double > & y
)

function mult_transpose_self

void mult_transpose_self(
    matrix & AAt
)

Updated on 2024-03-17 at 12:58:44 -0600