Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
complex(kind=wp), | public | :: | matrix(2,2) | = | 0.0_wp |
Constructs a spin object from a real scalar.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=wp), | intent(in) | :: | other |
Constructs a spin object from a complex scalar.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=wp), | intent(in) | :: | other |
Constructs a spin object from a complex matrix.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=wp), | intent(in) | :: | other(2,2) |
Constructs a spin object from a real vector.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=wp), | intent(in) | :: | other(8) |
Constructs a spin object from an existing one.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(spin), | intent(in) | :: | other |
Imports data to a spin object from a real scalar.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(spin), | intent(inout) | :: | this | |||
real(kind=wp), | intent(in) | :: | other |
Imports data to a spin object from a complex scalar.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(spin), | intent(inout) | :: | this | |||
complex(kind=wp), | intent(in) | :: | other |
Imports data to a spin object from a complex matrix.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(spin), | intent(inout) | :: | this | |||
complex(kind=wp), | intent(in) | :: | other(2,2) |
Imports data to a spin object from a real vector.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(spin), | intent(inout) | :: | this | |||
real(kind=wp), | intent(in) | :: | other(8) |
Exports data from a spin object to a complex matrix.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=wp), | intent(out) | :: | other(2,2) | |||
class(spin), | intent(in) | :: | this |
Exports data from a spin object to a real vector.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=wp), | intent(out) | :: | other(8) | |||
class(spin), | intent(in) | :: | this |
Defines left addition of a spin matrix and a real scalar.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=wp), | intent(in) | :: | other | |||
class(spin), | intent(in) | :: | this |
Defines right addition of a spin matrix and a real scalar.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(spin), | intent(in) | :: | this | |||
real(kind=wp), | intent(in) | :: | other |
Defines left addition of a spin matrix and a complex scalar.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=wp), | intent(in) | :: | other | |||
class(spin), | intent(in) | :: | this |
Defines right addition of a spin matrix and a complex scalar.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(spin), | intent(in) | :: | this | |||
complex(kind=wp), | intent(in) | :: | other |
Defines left addition of a spin matrix and a complex matrix.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=wp), | intent(in) | :: | other(2,2) | |||
class(spin), | intent(in) | :: | this |
Defines right addition of a spin matrix and a complex matrix.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(spin), | intent(in) | :: | this | |||
complex(kind=wp), | intent(in) | :: | other(2,2) |
Defines addition of two spin matrices.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(spin), | intent(in) | :: | this | |||
class(spin), | intent(in) | :: | other |
Defines left subtraction of a spin matrix and a real scalar.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=wp), | intent(in) | :: | other | |||
class(spin), | intent(in) | :: | this |
Defines right subtraction of a spin matrix and a real scalar.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(spin), | intent(in) | :: | this | |||
real(kind=wp), | intent(in) | :: | other |
Defines left subtraction of a spin matrix and a complex scalar.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=wp), | intent(in) | :: | other | |||
class(spin), | intent(in) | :: | this |
Defines right subtraction of a spin matrix and a complex scalar.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(spin), | intent(in) | :: | this | |||
complex(kind=wp), | intent(in) | :: | other |
Defines left subtraction of a spin matrix and a complex matrix.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=wp), | intent(in) | :: | other(2,2) | |||
class(spin), | intent(in) | :: | this |
Defines right subtraction of a spin matrix and a complex matrix.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(spin), | intent(in) | :: | this | |||
complex(kind=wp), | intent(in) | :: | other(2,2) |
Defines subtraction of two spin matrices.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(spin), | intent(in) | :: | this | |||
class(spin), | intent(in) | :: | other |
Defines left multiplication of a spin matrix by a real scalar.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=wp), | intent(in) | :: | other | |||
class(spin), | intent(in) | :: | this |
Defines right multiplication of a spin matrix by a real scalar.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(spin), | intent(in) | :: | this | |||
real(kind=wp), | intent(in) | :: | other |
Defines left multiplication of a spin matrix by a complex scalar.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=wp), | intent(in) | :: | other | |||
class(spin), | intent(in) | :: | this |
Defines right multiplication of a spin matrix by a complex scalar.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(spin), | intent(in) | :: | this | |||
complex(kind=wp), | intent(in) | :: | other |
Defines left multiplication of a spin matrix by a complex matrix.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=wp), | intent(in) | :: | other(2,2) | |||
class(spin), | intent(in) | :: | this |
Defines right multiplication of a spin matrix by a complex matrix.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(spin), | intent(in) | :: | this | |||
complex(kind=wp), | intent(in) | :: | other(2,2) |
Defines multiplication of two spin matrices.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(spin), | intent(in) | :: | this | |||
class(spin), | intent(in) | :: | other |
Defines division of a spin matrix by a real scalar.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(spin), | intent(in) | :: | this | |||
real(kind=wp), | intent(in) | :: | other |
Defines division of a spin matrix by a complex scalar.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(spin), | intent(in) | :: | this | |||
complex(kind=wp), | intent(in) | :: | other |