MatrixOperations#

class ansys.mapdl.core._commands.apdl.matrix_operations.MatrixOperations#

MatrixOperations.axpy([vr, vi, m1, wr, wi, m2])

Performs the matrix operation M2= v2M1 + w2M2.

MatrixOperations.comp([matrix, algorithm, ...])

Compresses a matrix using a specified algorithm.

MatrixOperations.dmat([matrix, type_, ...])

Creates a dense matrix.

MatrixOperations.dot([vector1, vector2, ...])

Computes the dot (or inner) product of two vectors.

MatrixOperations.eigen([kmatrix, mmatrix, ...])

Performs a modal solution with unsymmetric or damping matrices.

MatrixOperations.export([matrix, format_, ...])

Exports a matrix to a file in the specified format.

MatrixOperations.fft([type_, inputdata, ...])

Computes the fast Fourier transformation of a specified matrix or vector.

MatrixOperations.free([name, val1])

Deletes a matrix or a solver object and frees its memory allocation.

MatrixOperations.hprod([a, b, c])

Performs a Hadamard vector product (C = A∘B).

MatrixOperations.init([name, method, val1, ...])

Initializes a vector or matrix.

MatrixOperations.itengine([type_, ...])

Performs a solution using an iterative solver.

MatrixOperations.lsbac([enginename, ...])

Performs the solve (forward/backward substitution) of a factorized linear system.

MatrixOperations.lsdump([enginename, filename])

Dumps a linear solver engine to a binary File.

MatrixOperations.lsengine([type_, ...])

Creates a linear solver engine.

MatrixOperations.lsfactor([enginename, option])

Performs the numerical factorization of a linear solver system.

MatrixOperations.lsrestore([enginename, ...])

Restores a linear solver engine from a binary file.

MatrixOperations.merge([name1, name2, val1, ...])

Merges two dense matrices or vectors into one.

MatrixOperations.mult([m1, t1, m2, t2, m3])

Performs the matrix multiplication M3 = M1 (T1) *M2 (T2).

MatrixOperations.nrm([name, normtype, parr, ...])

Computes the norm of the specified matrix or vector.

MatrixOperations.remove([name, val1, val2, val3])

Suppresses rows or columns of a dense matrix or a vector.

MatrixOperations.scal([name, val1, val2])

Scales a vector or matrix by a constant.

MatrixOperations.smat([matrix, type_, ...])

Creates a sparse matrix.

MatrixOperations.starinquire([obj, ...])

Retrieves properties of an existing APDL Math object.

MatrixOperations.starprint([matrix, fname])

Prints the matrix values to a file.

MatrixOperations.starrename([oldname, newname])

Renames an existing vector or matrix.

MatrixOperations.starsort([name, sorttype, ...])

Sorts the values of the specified vector.

MatrixOperations.vec([vector, type_, ...])

Creates a vector.

MatrixOperations.wrk([num])

Sets the active workspace number.