libflame  revision_anchor
Functions
FLA_Apply_QUD_UT_create_workspace.c File Reference

(r)

Functions

FLA_Error FLA_Apply_QUD_UT_create_workspace (FLA_Obj T, FLA_Obj R, FLA_Obj *W)
 

Function Documentation

◆ FLA_Apply_QUD_UT_create_workspace()

FLA_Error FLA_Apply_QUD_UT_create_workspace ( FLA_Obj  T,
FLA_Obj  R,
FLA_Obj W 
)
14 {
15  FLA_Datatype datatype;
16  dim_t m_W, n_W;
17 
18  datatype = FLA_Obj_datatype( T );
19  m_W = FLA_Obj_length( T );
20  n_W = FLA_Obj_width( R );
21 
22  FLA_Obj_create( datatype, m_W, n_W, 0, 0, W );
23 
24  return FLA_SUCCESS;
25 }
dim_t FLA_Obj_width(FLA_Obj obj)
Definition: FLA_Query.c:123
FLA_Error FLA_Obj_create(FLA_Datatype datatype, dim_t m, dim_t n, dim_t rs, dim_t cs, FLA_Obj *obj)
Definition: FLA_Obj.c:55
dim_t FLA_Obj_length(FLA_Obj obj)
Definition: FLA_Query.c:116
FLA_Datatype FLA_Obj_datatype(FLA_Obj obj)
Definition: FLA_Query.c:13
int FLA_Datatype
Definition: FLA_type_defs.h:49
unsigned long dim_t
Definition: FLA_type_defs.h:71

References FLA_Obj_create(), FLA_Obj_datatype(), FLA_Obj_length(), and FLA_Obj_width().

Referenced by FLA_UDdate_UT_update_rhs().