[#mp_units-cartesian_vector-08]
= xref:mp_units.adoc[mp&lowbar;units]::cartesian&lowbar;vector
:relfileprefix: ../
:mrdocs:

== Synopsis

Declared in `&lt;mp&hyphen;units&sol;cartesian&lowbar;vector&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;&sol;&ast; implementation-defined &ast;&sol; T = double&gt;
class cartesian&lowbar;vector
    : public &sol;&ast; implementation-defined &ast;&sol;
----

== Base Classes

[cols="1,4"]
|===
|Name|Description

| `&sol;&ast; implementation-defined &ast;&sol;`
| 
|===

== Types

[cols=1]
|===
| Name
| xref:mp_units/cartesian_vector-08/value_type.adoc[`value&lowbar;type`] 
|===

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:mp_units/cartesian_vector-08/2constructor-0b.adoc[`cartesian&lowbar;vector`]         [.small]#[constructor]#
| Constructors
| xref:mp_units/cartesian_vector-08/operator_assign-0b.adoc[`operator&equals;`] 
| Assignment operators
| xref:mp_units/cartesian_vector-08/magnitude.adoc[`magnitude`] 
| 
| xref:mp_units/cartesian_vector-08/norm.adoc[`norm`] 
| 
| xref:mp_units/cartesian_vector-08/operator_star_eq.adoc[`operator&ast;&equals;`] 
| Multiplication assignment operator
| xref:mp_units/cartesian_vector-08/operator_plus.adoc[`operator&plus;`] 
| Unary plus operator
| xref:mp_units/cartesian_vector-08/operator_plus_eq.adoc[`operator&plus;&equals;`] 
| Addition assignment operator
| xref:mp_units/cartesian_vector-08/operator_minus.adoc[`operator&hyphen;`] 
| Unary minus operator
| xref:mp_units/cartesian_vector-08/operator_minus_eq.adoc[`operator&hyphen;&equals;`] 
| Subtraction assignment operator
| xref:mp_units/cartesian_vector-08/operator_slash_eq.adoc[`operator&sol;&equals;`] 
| Division assignment operator
| xref:mp_units/cartesian_vector-08/operator_subs-0c.adoc[`operator&lsqb;&rsqb;`] 
| Subscript operators
| xref:mp_units/cartesian_vector-08/unit.adoc[`unit`] 
| 
|===

== Data Members

[cols=1]
|===
| Name
| xref:mp_units/cartesian_vector-08/_coordinates_.adoc[`&lowbar;coordinates&lowbar;`] 
|===

== Friends

[cols="1,4"]
|===
|Name|Description

| `xref:mp_units/operator_lshift-03c.adoc[mp&lowbar;units::operator&lt;&lt;]`
| Stream insertion operator
| `xref:mp_units/unit_vector.adoc[mp&lowbar;units::unit&lowbar;vector]`
| 
| `xref:mp_units/magnitude-0a.adoc[mp&lowbar;units::magnitude]`
| 
| `xref:mp_units/norm.adoc[mp&lowbar;units::norm]`
| 
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
