la_add_attributes(_:_:)
Declaration
func la_add_attributes(_ object: la_object_t, _ attributes: la_attribute_t)Parameters
- object:
The object that will have its attributes modified.
- attributes:
Attributes which are to be added to the object’s existing attributes to create its new set of attributes. This value should be constructed by or’ing together LA_ATTRIBUTE_* constants.
Discussion
Add attributes to an la_object_t object.
This operation does not remove any existing attributes from the LinearAlgebra object, though it is possible that some attributes will override others (if so, this will be documented in the discussion of those attributes above). Following this function call, the specified object has all of the attributes it had before the call, plus any new attributes specified by the second parameter.
Adding an attribute that the object already has does not change the object.
This function is not reentrant or thread-safe. Attempting to add or remove attributes from multiple threads will have unpredictable results.
See Also
Functions
caxpy_(_:_:_:_:_:_:)ccopy_(_:_:_:_:_:)cdotc_(_:_:_:_:_:_:)cdotu_(_:_:_:_:_:_:)cgbmv_(_:_:_:_:_:_:_:_:_:_:_:_:_:)cgemm_(_:_:_:_:_:_:_:_:_:_:_:_:_:)cgemv_(_:_:_:_:_:_:_:_:_:_:_:)cgerc_(_:_:_:_:_:_:_:_:_:)cgeru_(_:_:_:_:_:_:_:_:_:)chbmv_(_:_:_:_:_:_:_:_:_:_:_:)chemm_(_:_:_:_:_:_:_:_:_:_:_:_:)chemv_(_:_:_:_:_:_:_:_:_:_:)cher2_(_:_:_:_:_:_:_:_:_:)cher2k_(_:_:_:_:_:_:_:_:_:_:_:_:)cher_(_:_:_:_:_:_:_:)