Matrix

class xc.ID

Bases: xc_base.CommandEntity

append((ID)arg1, (object)arg2) → None :
C++ signature :
void append(XC::ID {lvalue},boost::python::api::object)
extend((ID)arg1, (object)arg2) → None :
C++ signature :
void extend(XC::ID {lvalue},boost::python::api::object)
getReversed((ID)arg1) → ID :

Returns the reversed sequence.

C++ signature :
XC::ID getReversed(XC::ID {lvalue})
class xc.Vector

Bases: xc_base.CommandEntity

Norm((Vector)arg1) → float :

Returns vector norm.

C++ signature :
double Norm(XC::Vector {lvalue})
Norm2((Vector)arg1) → float :

Returns vector norm.

C++ signature :
double Norm2(XC::Vector {lvalue})
Normalized((Vector)arg1) → Vector :

Returns normalizxed vector.

C++ signature :
XC::Vector Normalized(XC::Vector {lvalue})
addComponents((Vector)arg1, (Vector)arg2, (ID)arg3) → None :

Sums the specified values to the specified set of vector components

C++ signature :
void addComponents(XC::Vector {lvalue},XC::Vector,XC::ID)
dot((Vector)arg1, (Vector)arg2) → float :

Returns dot product.

C++ signature :
double dot(XC::Vector {lvalue},XC::Vector)
getComponents((Vector)arg1, (ID)arg2) → Vector :

Return the specified set of vector components

C++ signature :
XC::Vector getComponents(XC::Vector {lvalue},XC::ID)
putComponents((Vector)arg1, (Vector)arg2, (ID)arg3) → None :

Assigns the specified values to the specified set of vector components

C++ signature :
void putComponents(XC::Vector {lvalue},XC::Vector,XC::ID)
size((Vector)arg1) → int :
C++ signature :
int size(XC::Vector {lvalue})
class xc.Matrix

Bases: xc_base.CommandEntity

Norm((Matrix)arg1) → float :

Return the value of the euclidean norm.

C++ signature :
double Norm(XC::Matrix {lvalue})
Norm2((Matrix)arg1) → float :

Return squared value of euclidean norm.

C++ signature :
double Norm2(XC::Matrix {lvalue})
OneNorm((Matrix)arg1) → float :

Return the value of the one norm.

C++ signature :
double OneNorm(XC::Matrix {lvalue})
RCond((Matrix)arg1) → float :

.Return an estimation of the reciprocal of the condition number using the 1-norm.

C++ signature :
double RCond(XC::Matrix {lvalue})
at((Matrix)arg1, (int)arg2, (int)arg3) → float :

Returns value at (i,j) position.

C++ signature :
double {lvalue} at(XC::Matrix {lvalue},int,int)
columnNorm((Matrix)arg1) → float :

Column norm.

C++ signature :
double columnNorm(XC::Matrix {lvalue})
columnSum((Matrix)arg1, (int)arg2) → float :

Returns the sum of the columns.

C++ signature :
double columnSum(XC::Matrix {lvalue},int)
getCol((Matrix)arg1, (int)arg2) → Vector :

Returns a column on the matrix.

C++ signature :
XC::Vector getCol(XC::Matrix {lvalue},int)
getInverse((Matrix)arg1) → Matrix :

Return the inverse of the matrix-

C++ signature :
XC::Matrix getInverse(XC::Matrix {lvalue})
getRow((Matrix)arg1, (int)arg2) → Vector :

Returns a row on the matrix.

C++ signature :
XC::Vector getRow(XC::Matrix {lvalue},int)
noCols

Returns number of columns.

noRows

Returns number of rows.

rowNorm((Matrix)arg1) → float :

Row norm.

C++ signature :
double rowNorm(XC::Matrix {lvalue})
rowSum((Matrix)arg1, (int)arg2) → float :

Returns the sum of the rows.

C++ signature :
double rowSum(XC::Matrix {lvalue},int)