math#
- property MapdlGrpc.math[source]#
APDL math interface
- Returns:
Examples
Get the stiffness matrix from MAPDL
>>> mm = mapdl.math.stiff() >>> matrix = k.asarray() <60x60 sparse matrix of type '<class 'numpy.float64'>' with 1734 stored elements in Compressed Sparse Row format>
Get the mass matrix from mapdl
>>> mm = mapdl.math.stiff() >>> matrix = k.asarray() <60x60 sparse matrix of type '<class 'numpy.float64'>' with 1734 stored elements in Compressed Sparse Row format>