pub struct Cs<const N: usize>(pub [f64; N]);Expand description
📚 【 POL】: Generyczny wrapper dla tablic o stałym rozmiarze, ograniczony do wymiarów 2D i 3D. 📚 【 ENG】: Generic wrapper for fixed-size arrays, restricted to 2D and 3D dimensions.
⚠️ 【 POL】: Implementacja ściśle ograniczona do N=2 lub N=3. Inne wymiary nie są wspierane. ⚠️ 【 ENG】: Implementation strictly limited to N=2 or N=3. Other dimensions are not supported.
Tuple Fields§
§0: [f64; N]Methods from Deref<Target = [f64; N]>§
1.57.0 · Sourcepub fn as_slice(&self) -> &[T]
pub fn as_slice(&self) -> &[T]
Returns a slice containing the entire array. Equivalent to &s[..].
1.77.0 · Sourcepub fn each_ref(&self) -> [&T; N]
pub fn each_ref(&self) -> [&T; N]
Borrows each element and returns an array of references with the same
size as self.
§Example
let floats = [3.1, 2.7, -1.0];
let float_refs: [&f64; 3] = floats.each_ref();
assert_eq!(float_refs, [&3.1, &2.7, &-1.0]);This method is particularly useful if combined with other methods, like
map. This way, you can avoid moving the original
array if its elements are not Copy.
let strings = ["Ferris".to_string(), "♥".to_string(), "Rust".to_string()];
let is_ascii = strings.each_ref().map(|s| s.is_ascii());
assert_eq!(is_ascii, [true, false, true]);
// We can still access the original array: it has not been moved.
assert_eq!(strings.len(), 3);Sourcepub fn split_array_ref<const M: usize>(&self) -> (&[T; M], &[T])
🔬This is a nightly-only experimental API. (split_array)
pub fn split_array_ref<const M: usize>(&self) -> (&[T; M], &[T])
split_array)Divides one array reference into two at an index.
The first will contain all indices from [0, M) (excluding
the index M itself) and the second will contain all
indices from [M, N) (excluding the index N itself).
§Panics
Panics if M > N.
§Examples
#![feature(split_array)]
let v = [1, 2, 3, 4, 5, 6];
{
let (left, right) = v.split_array_ref::<0>();
assert_eq!(left, &[]);
assert_eq!(right, &[1, 2, 3, 4, 5, 6]);
}
{
let (left, right) = v.split_array_ref::<2>();
assert_eq!(left, &[1, 2]);
assert_eq!(right, &[3, 4, 5, 6]);
}
{
let (left, right) = v.split_array_ref::<6>();
assert_eq!(left, &[1, 2, 3, 4, 5, 6]);
assert_eq!(right, &[]);
}Sourcepub fn rsplit_array_ref<const M: usize>(&self) -> (&[T], &[T; M])
🔬This is a nightly-only experimental API. (split_array)
pub fn rsplit_array_ref<const M: usize>(&self) -> (&[T], &[T; M])
split_array)Divides one array reference into two at an index from the end.
The first will contain all indices from [0, N - M) (excluding
the index N - M itself) and the second will contain all
indices from [N - M, N) (excluding the index N itself).
§Panics
Panics if M > N.
§Examples
#![feature(split_array)]
let v = [1, 2, 3, 4, 5, 6];
{
let (left, right) = v.rsplit_array_ref::<0>();
assert_eq!(left, &[1, 2, 3, 4, 5, 6]);
assert_eq!(right, &[]);
}
{
let (left, right) = v.rsplit_array_ref::<2>();
assert_eq!(left, &[1, 2, 3, 4]);
assert_eq!(right, &[5, 6]);
}
{
let (left, right) = v.rsplit_array_ref::<6>();
assert_eq!(left, &[]);
assert_eq!(right, &[1, 2, 3, 4, 5, 6]);
}Trait Implementations§
Source§impl<const N: usize> AbstractArithmeticCsGeneric for Cs<N>
impl<const N: usize> AbstractArithmeticCsGeneric for Cs<N>
Source§impl AbstractHelperCs2 for Cs<2>
impl AbstractHelperCs2 for Cs<2>
Source§fn print_q(&self, name: &str)
fn print_q(&self, name: &str)
Source§fn print_xy(&self, name: &str)
fn print_xy(&self, name: &str)
Source§impl AbstractHelperCs3 for Cs<3>
impl AbstractHelperCs3 for Cs<3>
Source§fn print_dms_sn_we(&self, name: &str)
fn print_dms_sn_we(&self, name: &str)
📚 【 POL】: Wyświetla współrzędne w formacie geodezyjnym DMS (Stopnie, Minuty, Sekundy) z oznaczeniami N/S i E/W. 📚 【 ENG】: Displays coordinates in geodetic DMS (Degrees, Minutes, Seconds) format with N/S and E/W indicators.
fn print_q(&self, name: &str)
fn print_xyz(&self, name: &str)
fn print_rft(&self, name: &str, fmt: AngleFmt)
fn print_rfx(&self, name: &str, fmt: AngleFmt)
fn print_rfy(&self, name: &str, fmt: AngleFmt)
fn print_rfz(&self, name: &str, fmt: AngleFmt)
fn print(&self, name: &str, fmt: AngleFmt)
Source§impl AbstractMathCs2 for Cs<2>
impl AbstractMathCs2 for Cs<2>
Source§fn rxy(&self) -> f64
fn rxy(&self) -> f64
📚 【 POL】: Długość rzutu (promień) na płaszczyznę XY. 📚 【 ENG】: Projection length (radius) on the XY plane.
Source§fn arctan_y_x(&self) -> f64
fn arctan_y_x(&self) -> f64
📚 【 POL】: Azymut matematyczny (od osi X w stronę Y, CCW). 📚 【 ENG】: Mathematical azimuth (from X-axis towards Y, CCW).
Source§fn arctan_x_y(&self) -> f64
fn arctan_x_y(&self) -> f64
📚 【 POL】: Azymut kompasowy/geodezyjny (od osi Y w stronę X, CW). 📚 【 ENG】: Compass/geodetic azimuth (from Y-axis towards X, CW).
Source§fn to_rf_from_xy(&self) -> Cs<2>
fn to_rf_from_xy(&self) -> Cs<2>
📚 【 POL】: Konwertuje wektor kartezjański [X, Y] na wektor biegunowy [R, Φ] w obrębie Cs2. 📚 【 ENG】: Converts a Cartesian vector [X, Y] to a polar vector [R, Φ] within Cs2.
Source§fn to_ecef_from_rad_sn_we(&self, r: f64) -> Cs<3>
fn to_ecef_from_rad_sn_we(&self, r: f64) -> Cs<3>
📚 【 POL】: Przekształca współrzędne geograficzne [Szerokość, Długość] w radianach na wektor 3D ECEF (X, Y, Z). 📚 【 ENG】: Transforms geographic coordinates [Latitude, Longitude] in radians to a 3D ECEF vector (X, Y, Z). ⚙️ 【 POL】: Wykorzystuje zadany promień ‘r’ (np. promień Ziemi). ⚙️ 【 ENG】: Uses the specified radius ‘r’ (e.g., Earth’s radius).
Source§fn q(&self) -> u8
fn q(&self) -> u8
📚 【 POL】: Zwraca numer ćwiartki na płaszczyźnie XY (1-4). 📚 【 ENG】: Returns the quadrant number on the XY plane (1-4).
Source§fn q_sign(&self) -> [&'static str; 2]
fn q_sign(&self) -> [&'static str; 2]
📚 【 POL】: Zwraca znaki kierunkowe osi X i Y w formie tablicy stringów (np. [“+”, “-”]). 📚 【 ENG】: Returns the directional signs of the X and Y axes as an array of strings (e.g., [“+”, “-”]).
Source§fn rxy_sq(&self) -> f64
fn rxy_sq(&self) -> f64
📚 【 POL】: Kwadrat długości rzutu XY (szybsza alternatywa dla rxy). 📚 【 ENG】: Squared projection length XY (faster alternative to rxy).
Source§impl AbstractMathCs3 for Cs<3>
impl AbstractMathCs3 for Cs<3>
Source§fn rxy(&self) -> f64
fn rxy(&self) -> f64
📚 【 POL】: Długość rzutu (promień) na płaszczyznę XY. 📚 【 ENG】: Projection length (radius) on the XY plane.
Source§fn rxz(&self) -> f64
fn rxz(&self) -> f64
📚 【 POL】: Długość rzutu (promień) na płaszczyznę XZ. 📚 【 ENG】: Projection length (radius) on the XZ plane.
Source§fn ryz(&self) -> f64
fn ryz(&self) -> f64
📚 【 POL】: Długość rzutu (promień) na płaszczyznę YZ. 📚 【 ENG】: Projection length (radius) on the YZ plane.
Source§fn rxyz(&self) -> f64
fn rxyz(&self) -> f64
📚 【 POL】: Pełna długość wektora w przestrzeni XYZ. 📚 【 ENG】: Full vector length in XYZ space.
Source§fn arctan_y_x(&self) -> f64
fn arctan_y_x(&self) -> f64
📚 【 POL】: Azymut na płaszczyźnie XY (od X do Y). 📚 【 ENG】: Azimuth on the XY plane (from X to Y).
Source§fn arctan_z_x(&self) -> f64
fn arctan_z_x(&self) -> f64
📚 【 POL】: Azymut na płaszczyźnie XZ (od X do Z). 📚 【 ENG】: Azimuth on the XZ plane (from X to Z).
Source§fn arctan_z_y(&self) -> f64
fn arctan_z_y(&self) -> f64
📚 【 POL】: Azymut na płaszczyźnie YZ (od Y do Z). 📚 【 ENG】: Azimuth on the YZ plane (from Y to Z).
Source§fn arctan_x_y(&self) -> f64
fn arctan_x_y(&self) -> f64
📚 【 POL】: Azymut kompasowy na XY (0° na osi Y). 📚 【 ENG】: Compass azimuth on XY (0° on Y-axis).
Source§fn arctan_x_z(&self) -> f64
fn arctan_x_z(&self) -> f64
📚 【 POL】: Azymut kompasowy na XZ (0° na osi Z). 📚 【 ENG】: Compass azimuth on XZ (0° on Z-axis).
Source§fn arctan_y_z(&self) -> f64
fn arctan_y_z(&self) -> f64
📚 【 POL】: Azymut kompasowy na YZ (0° na osi Z). 📚 【 ENG】: Compass azimuth on YZ (0° on Z-axis).
Source§fn arccos_x_rxyz(&self) -> f64
fn arccos_x_rxyz(&self) -> f64
📚 【 POL】: Kąt między wektorem a osią X. 📚 【 ENG】: Angle between the vector and the X-axis.
Source§fn arccos_y_rxyz(&self) -> f64
fn arccos_y_rxyz(&self) -> f64
📚 【 POL】: Kąt między wektorem a osią Y. 📚 【 ENG】: Angle between the vector and the Y-axis.
Source§fn arccos_z_rxyz(&self) -> f64
fn arccos_z_rxyz(&self) -> f64
📚 【 POL】: Kąt między wektorem a osią Z (Inklinacja sferyczna). 📚 【 ENG】: Angle between the vector and the Z-axis (Spherical inclination).
Source§fn to_rf_from_xy(&self) -> Cs<2>
fn to_rf_from_xy(&self) -> Cs<2>
📚 【 POL】: Rzutuje wektor 3D na płaszczyznę XY w formacie biegunowym [R, Φ]. 📚 【 ENG】: Projects a 3D vector onto the XY plane in polar format [R, Φ].
Source§fn to_rf_from_xz(&self) -> Cs<2>
fn to_rf_from_xz(&self) -> Cs<2>
📚 【 POL】: Rzutuje wektor 3D na płaszczyznę XZ w formacie biegunowym [R, Φ]. 📚 【 ENG】: Projects a 3D vector onto the XZ plane in polar format [R, Φ].
Source§fn to_rf_from_yz(&self) -> Cs<2>
fn to_rf_from_yz(&self) -> Cs<2>
📚 【 POL】: Rzutuje wektor 3D na płaszczyznę YZ w formacie biegunowym [R, Φ]. 📚 【 ENG】: Projects a 3D vector onto the YZ plane in polar format [R, Φ].
Source§fn to_rfx_from_xyz(&self) -> Cs<3>
fn to_rfx_from_xyz(&self) -> Cs<3>
📚 【 POL】: Konwertuje XYZ na układ cylindryczny względem osi X [R_yz, Φ_zy, X]. 📚 【 ENG】: Converts XYZ to a cylindrical system relative to the X-axis [R_yz, Φ_zy, X].
Source§fn to_rfy_from_xyz(&self) -> Cs<3>
fn to_rfy_from_xyz(&self) -> Cs<3>
📚 【 POL】: Konwertuje XYZ na układ cylindryczny względem osi Y [R_xz, Φ_zx, Y]. 📚 【 ENG】: Converts XYZ to a cylindrical system relative to the Y-axis [R_xz, Φ_zx, Y].
Source§fn to_rfz_from_xyz(&self) -> Cs<3>
fn to_rfz_from_xyz(&self) -> Cs<3>
📚 【 POL】: Konwertuje XYZ na układ cylindryczny względem osi Z [R_xy, Φ_yx, Z]. 📚 【 ENG】: Converts XYZ to a cylindrical system relative to the Z-axis [R_xy, Φ_yx, Z].
Source§fn to_rft_from_xyz(&self) -> Cs<3>
fn to_rft_from_xyz(&self) -> Cs<3>
📚 【 POL】: Konwertuje XYZ na pełny układ sferyczny [R_xyz, Φ_yx, Θ_zr]. 📚 【 ENG】: Converts XYZ to a full spherical system [R_xyz, Φ_yx, Θ_zr].
Source§fn to_ecef_from_dms_sn_we(
sn_d: i16,
sn_m: u8,
sn_s: f32,
we_d: i16,
we_m: u8,
we_s: f32,
r: f64,
) -> Self
fn to_ecef_from_dms_sn_we( sn_d: i16, sn_m: u8, sn_s: f32, we_d: i16, we_m: u8, we_s: f32, r: f64, ) -> Self
📚 【 POL】: Tworzy wektor ECEF (XYZ) bezpośrednio z danych DMS i promienia. 📚 【 ENG】: Creates an ECEF vector (XYZ) directly from DMS data and radius.
Source§fn to_dms_sn_we_from_xyz(&self) -> CoordsSphericalEcefSnWeDms
fn to_dms_sn_we_from_xyz(&self) -> CoordsSphericalEcefSnWeDms
📚 【 POL】: Konwertuje wektor XYZ na geodezyjny format DMS (Szerokość, Długość). 📚 【 ENG】: Converts a XYZ vector to geodetic DMS format (Latitude, Longitude).
Source§fn q(&self) -> u8
fn q(&self) -> u8
📚 【 POL】: Zwraca numer oktantu (1-8) w którym znajduje się wektor. 📚 【 ENG】: Returns the octant number (1-8) where the vector is located.
Source§fn q_sign(&self) -> [&'static str; 3]
fn q_sign(&self) -> [&'static str; 3]
📚 【 POL】: Zwraca znaki kierunkowe osi XYZ (np. [“+”, “-”, “+”]). 📚 【 ENG】: Returns the directional signs of the XYZ axes (e.g., [“+”, “-”, “+”]).
Source§fn rxyz_sq(&self) -> f64
fn rxyz_sq(&self) -> f64
📚 【 POL】: Kwadrat pełnej długości wektora 3D. 📚 【 ENG】: Squared full length of the 3D vector.
Source§fn rxy_sq(&self) -> f64
fn rxy_sq(&self) -> f64
📚 【 POL】: Kwadrat długości rzutu na płaszczyznę XY. 📚 【 ENG】: Squared projection length on the XY plane.
Source§fn rxz_sq(&self) -> f64
fn rxz_sq(&self) -> f64
📚 【 POL】: Kwadrat długości rzutu na płaszczyznę XZ. 📚 【 ENG】: Squared projection length on the XZ plane.
Source§fn ryz_sq(&self) -> f64
fn ryz_sq(&self) -> f64
📚 【 POL】: Kwadrat długości rzutu na płaszczyznę YZ. 📚 【 ENG】: Squared projection length on the YZ plane.
Source§fn normalize_rxy_projection(&self) -> Cs<3>
fn normalize_rxy_projection(&self) -> Cs<3>
📚 【 POL】: Normalizuje rzut XY do długości 1.0, zachowując składową Z. 📚 【 ENG】: Normalizes the XY projection to length 1.0, preserving the Z component.
Source§fn normalize_rxz_projection(&self) -> Cs<3>
fn normalize_rxz_projection(&self) -> Cs<3>
📚 【 POL】: Normalizuje rzut XZ do długości 1.0, zachowując składową Y. 📚 【 ENG】: Normalizes the XZ projection to length 1.0, preserving the Y component.
Source§fn normalize_ryz_projection(&self) -> Cs<3>
fn normalize_ryz_projection(&self) -> Cs<3>
📚 【 POL】: Normalizuje rzut YZ do długości 1.0, zachowując składową X. 📚 【 ENG】: Normalizes the YZ projection to length 1.0, preserving the X component.
Source§impl<const N: usize> AbstractMathCsGeneric for Cs<N>
impl<const N: usize> AbstractMathCsGeneric for Cs<N>
Source§fn sub(&self, other: &Self) -> Self
fn sub(&self, other: &Self) -> Self
📚 【 POL】: Operacja odejmowania wektorów. Zwraca wektor różnicy (B - A). 📚 【 ENG】: Vector subtraction. Returns the difference vector (B - A).
Source§fn add(&self, other: &Self) -> Self
fn add(&self, other: &Self) -> Self
📚 【 POL】: Operacja dodawania wektorów. Zwraca wektor sumy (A + B). 📚 【 ENG】: Vector addition. Returns the sum vector (A + B).
Source§fn dot(&self, other: &Self) -> f64
fn dot(&self, other: &Self) -> f64
📚 【 POL】: Iloczyn skalarny (Dot product) dla dowolnego wymiaru N. 📚 【 ENG】: Dot product for any dimension N.
Source§fn r_sq(&self) -> f64
fn r_sq(&self) -> f64
📚 【 POL】: Kwadrat pełnej długości wektora (R²). Eliminuje kosztowne pierwiastkowanie. 📚 【 ENG】: Squared full length of the vector (R²). Eliminates costly square root.
Source§fn r(&self) -> f64
fn r(&self) -> f64
📚 【 POL】: Pełna długość wektora w przestrzeni (Norma Euklidesowa R). 📚 【 ENG】: Full length of the vector in space (Euclidean Norm R).
Source§fn normalize_r_projection(&self) -> Self
fn normalize_r_projection(&self) -> Self
📚 【 POL】: Normalizuje wektor do długości jednostkowej (1.0). Zwraca wektor zerowy przy zerowej długości. 📚 【 ENG】: Normalizes the vector to unit length (1.0). Returns a zero vector for zero length.
Source§fn angle_between(&self, other: &Self) -> f64
fn angle_between(&self, other: &Self) -> f64
📚 【 POL】: Oblicza kąt między dwoma wektorami w radianach. 📚 【 ENG】: Calculates the angle between two vectors in radians.
Source§impl<const N: usize> AbstractModelCsGeneric<N> for Cs<N>
📚 【 POL】: Implementacja kontraktu bazowego (przeniesiona z model.rs).
impl<const N: usize> AbstractModelCsGeneric<N> for Cs<N>
📚 【 POL】: Implementacja kontraktu bazowego (przeniesiona z model.rs).
Source§impl AbstractProjectionsCs2 for Cs<2>
impl AbstractProjectionsCs2 for Cs<2>
Source§fn new_from_rf(r: f64, phi_rad: f64) -> Self
fn new_from_rf(r: f64, phi_rad: f64) -> Self
📚 【 POL】: Tworzy nowy wektor Cs2 z układu biegunowego (R, Φ) na płaszczyźnie XY. 📚 【 ENG】: Creates a new Cs2 vector from a polar system (R, Φ) on the XY plane.
Source§fn new_as_xy_from_rf(&self) -> Cs<2>
fn new_as_xy_from_rf(&self) -> Cs<2>
📚 【 POL】: Interpretuje Cs2 jako kontener [R, Φ] i zwraca kartezjański wektor 2D [X, Y]. 📚 【 ENG】: Interprets Cs2 as a [R, Φ] container and returns a 2D Cartesian vector [X, Y].
Source§fn new_as_xyz_from_rf_with_z(&self, z: f64) -> Cs<3>
fn new_as_xyz_from_rf_with_z(&self, z: f64) -> Cs<3>
📚 【 POL】: Interpretuje Cs2 jako [R_xy, Φ] i zwraca kartezjański Cs3 z zadaną wysokością Z. 📚 【 ENG】: Interprets Cs2 as [R_xy, Φ] and returns a Cartesian Cs3 with a given Z height.
Source§fn new_as_xyz_from_rf_with_y(&self, y: f64) -> Cs<3>
fn new_as_xyz_from_rf_with_y(&self, y: f64) -> Cs<3>
📚 【 POL】: Interpretuje Cs2 jako [R_xz, Φ] i zwraca kartezjański Cs3 z zadaną szerokością Y. 📚 【 ENG】: Interprets Cs2 as [R_xz, Φ] and returns a Cartesian Cs3 with a given Y width.
Source§fn new_as_xyz_from_rf_with_x(&self, x: f64) -> Cs<3>
fn new_as_xyz_from_rf_with_x(&self, x: f64) -> Cs<3>
📚 【 POL】: Interpretuje Cs2 jako [R_yz, Φ] i zwraca kartezjański Cs3 z zadaną współrzędną X. 📚 【 ENG】: Interprets Cs2 as [R_yz, Φ] and returns a Cartesian Cs3 with a given X coordinate.
fn new_as_xy(&self) -> Cs<3>
fn new_as_xz(&self) -> Cs<3>
fn new_as_yz(&self) -> Cs<3>
Source§impl AbstractProjectionsCs3 for Cs<3>
impl AbstractProjectionsCs3 for Cs<3>
Source§fn new_from_rft(r: f64, phi_rad: f64, theta_rad: f64) -> Self
fn new_from_rft(r: f64, phi_rad: f64, theta_rad: f64) -> Self
📚 【 POL】: Tworzy nowy wektor Cs3 z układu sferycznego (R, Φ, Θ). 📚 【 ENG】: Creates a new Cs3 vector from a spherical system (R, Φ, Θ).
Source§fn new_as_xyz_from_rft(&self) -> Cs<3>
fn new_as_xyz_from_rft(&self) -> Cs<3>
📚 【 POL】: Interpretuje Cs3 jako kontener sferyczny [R, Φ, Θ] i zwraca wektor kartezjański [X, Y, Z]. 📚 【 ENG】: Interprets Cs3 as a spherical container [R, Φ, Θ] and returns a Cartesian vector [X, Y, Z].
Source§fn new_from_rfz(r_d2: f64, phi_rad: f64, z: f64) -> Self
fn new_from_rfz(r_d2: f64, phi_rad: f64, z: f64) -> Self
📚 【 POL】: Tworzy nowy wektor 3D z układu cylindrycznego względem osi Z: (R_xy, Φ, Z). 📚 【 ENG】: Creates a new 3D vector from a cylindrical system relative to the Z-axis: (R_xy, Φ, Z).
Source§fn new_from_rfx(r_d2: f64, phi_rad: f64, x: f64) -> Self
fn new_from_rfx(r_d2: f64, phi_rad: f64, x: f64) -> Self
📚 【 POL】: Tworzy nowy wektor 3D z układu cylindrycznego względem osi X: (R_yz, Φ, X). 📚 【 ENG】: Creates a new 3D vector from a cylindrical system relative to the X-axis: (R_yz, Φ, X). ⚙️ 【 POL】: Kąt Φ mierzony jest od osi Y do Z na płaszczyźnie YZ. ⚙️ 【 ENG】: Angle Φ is measured from the Y-axis to the Z-axis on the YZ plane.
Source§fn new_from_rfy(r_d2: f64, phi_rad: f64, y: f64) -> Self
fn new_from_rfy(r_d2: f64, phi_rad: f64, y: f64) -> Self
📚 【 POL】: Tworzy nowy wektor 3D z układu cylindrycznego względem osi Y: (R_xz, Φ, Y). 📚 【 ENG】: Creates a new 3D vector from a cylindrical system relative to the Y-axis: (R_xz, Φ, Y). ⚙️ 【 POL】: Kąt Φ mierzony jest od osi X do Z na płaszczyźnie XZ. ⚙️ 【 ENG】: Angle Φ is measured from the X-axis to the Z-axis on the XZ plane.
Source§impl<const N: usize> Add for Cs<N>
📚 【 POL】: Implementacja operatora dodawania (Cs + Cs).
📚 【 ENG】: Implementation of the addition operator (Cs + Cs).
impl<const N: usize> Add for Cs<N>
📚 【 POL】: Implementacja operatora dodawania (Cs + Cs). 📚 【 ENG】: Implementation of the addition operator (Cs + Cs).
Source§impl<const N: usize> Deref for Cs<N>
📚 【 POL】: Implementacja Deref zapewniająca bezpośredni dostęp do wewnętrznej tablicy danych.
📚 【 ENG】: Deref implementation providing direct access to the internal data array.
impl<const N: usize> Deref for Cs<N>
📚 【 POL】: Implementacja Deref zapewniająca bezpośredni dostęp do wewnętrznej tablicy danych. 📚 【 ENG】: Deref implementation providing direct access to the internal data array.
Source§impl<const N: usize> Div<f64> for Cs<N>
📚 【 POL】: Implementacja dzielenia wektora przez skalar (Cs / f64).
📚 【 ENG】: Implementation of vector division by a scalar (Cs / f64).
impl<const N: usize> Div<f64> for Cs<N>
📚 【 POL】: Implementacja dzielenia wektora przez skalar (Cs / f64). 📚 【 ENG】: Implementation of vector division by a scalar (Cs / f64).
Source§impl<const N: usize> Mul<Cs<N>> for f64
📚 【 POL】: Implementacja mnożenia skalara przez wektor (f64 * Cs).
📚 【 ENG】: Implementation of scalar multiplication by a vector (f64 * Cs).
impl<const N: usize> Mul<Cs<N>> for f64
📚 【 POL】: Implementacja mnożenia skalara przez wektor (f64 * Cs). 📚 【 ENG】: Implementation of scalar multiplication by a vector (f64 * Cs).
Source§impl<const N: usize> Mul<f64> for Cs<N>
📚 【 POL】: Implementacja mnożenia wektora przez skalar (Cs * f64).
📚 【 ENG】: Implementation of vector multiplication by a scalar (Cs * f64).
impl<const N: usize> Mul<f64> for Cs<N>
📚 【 POL】: Implementacja mnożenia wektora przez skalar (Cs * f64). 📚 【 ENG】: Implementation of vector multiplication by a scalar (Cs * f64).
Source§impl<const N: usize> Neg for Cs<N>
📚 【 POL】: Implementacja operatora negacji (-Cs).
📚 【 ENG】: Implementation of the negation operator (-Cs).
impl<const N: usize> Neg for Cs<N>
📚 【 POL】: Implementacja operatora negacji (-Cs). 📚 【 ENG】: Implementation of the negation operator (-Cs).
Source§impl<const N: usize> Sub for Cs<N>
📚 【 POL】: Implementacja operatora odejmowania (Cs - Cs).
📚 【 ENG】: Implementation of the subtraction operator (Cs - Cs).
impl<const N: usize> Sub for Cs<N>
📚 【 POL】: Implementacja operatora odejmowania (Cs - Cs). 📚 【 ENG】: Implementation of the subtraction operator (Cs - Cs).