Skip to content

Commit 07e2d74

Browse files
committed
fix: rename C APIs to align with @stdlib/number/* conventions
1 parent ed7fbf1 commit 07e2d74

File tree

16 files changed

+32
-32
lines changed

16 files changed

+32
-32
lines changed

lib/node_modules/@stdlib/complex/base/assert/is-equal/README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ out = isEqual( z1, z2 );
124124
#include "stdlib/complex/base/assert/is_equal.h"
125125
```
126126

127-
#### stdlib_complex_is_equal( z1, z2 )
127+
#### stdlib_base_complex128_is_equal( z1, z2 )
128128

129129
Tests whether double-precision complex floating-point numbers are equal.
130130

@@ -135,7 +135,7 @@ Tests whether double-precision complex floating-point numbers are equal.
135135
stdlib_complex128_t z1 = stdlib_complex128( 5.0, 2.0 );
136136
stdlib_complex128_t z2 = stdlib_complex128( 5.0, 2.0 );
137137

138-
bool v = stdlib_complex_is_equal( z1, z2 );
138+
bool v = stdlib_base_complex128_is_equal( z1, z2 );
139139
```
140140

141141
The function accepts the following arguments:
@@ -144,7 +144,7 @@ The function accepts the following arguments:
144144
- **z2**: `[in] stdlib_complex128_t` second double-precision complex floating-point number.
145145

146146
```c
147-
bool stdlib_complex_is_equal( const stdlib_complex128_t z1, const stdlib_complex128_t z2 );
147+
bool stdlib_base_complex128_is_equal( const stdlib_complex128_t z1, const stdlib_complex128_t z2 );
148148
```
149149
150150
</section>
@@ -182,7 +182,7 @@ int main( void ) {
182182
bool v;
183183
int i;
184184
for ( i = 0; i < 4; i++ ) {
185-
v = stdlib_complex_is_equal( z[ i ], z[ i ] );
185+
v = stdlib_base_complex128_is_equal( z[ i ], z[ i ] );
186186
printf( "Equal? %s\n", ( v ) ? "True" : "False" );
187187
}
188188
}

lib/node_modules/@stdlib/complex/base/assert/is-equal/examples/c/example.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ int main( void ) {
3232
bool v;
3333
int i;
3434
for ( i = 0; i < 4; i++ ) {
35-
v = stdlib_complex_is_equal( z[ i ], z[ i ] );
35+
v = stdlib_base_complex128_is_equal( z[ i ], z[ i ] );
3636
printf( "Equal? %s\n", ( v ) ? "True" : "False" );
3737
}
3838
}

lib/node_modules/@stdlib/complex/base/assert/is-equal/include/stdlib/complex/base/assert/is_equal.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ extern "C" {
3232
/**
3333
* Tests whether two double-precision complex floating-point numbers are equal.
3434
*/
35-
bool stdlib_complex_is_equal( const stdlib_complex128_t z1, const stdlib_complex128_t z2 );
35+
bool stdlib_base_complex128_is_equal( const stdlib_complex128_t z1, const stdlib_complex128_t z2 );
3636

3737
#ifdef __cplusplus
3838
}

lib/node_modules/@stdlib/complex/base/assert/is-equal/src/main.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@
3535
* stdlib_complex128_t z1 = stdlib_complex128( 5.0, 2.0 );
3636
* stdlib_complex128_t z2 = stdlib_complex128( 5.0, 2.0 );
3737
*
38-
* bool v = stdlib_complex_is_equal( z1, z2 );
38+
* bool v = stdlib_base_complex128_is_equal( z1, z2 );
3939
*/
40-
bool stdlib_complex_is_equal( const stdlib_complex128_t z1, const stdlib_complex128_t z2 ) {
40+
bool stdlib_base_complex128_is_equal( const stdlib_complex128_t z1, const stdlib_complex128_t z2 ) {
4141
double re1;
4242
double re2;
4343
double im1;

lib/node_modules/@stdlib/complex/base/assert/is-equalf/README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ out = isEqualf( z1, z2 );
124124
#include "stdlib/complex/base/assert/is_equalf.h"
125125
```
126126

127-
#### stdlib_complex_is_equalf( z1, z2 )
127+
#### stdlib_base_complex64_is_equal( z1, z2 )
128128

129129
Tests whether single-precision complex floating-point numbers are equal.
130130

@@ -135,7 +135,7 @@ Tests whether single-precision complex floating-point numbers are equal.
135135
stdlib_complex64_t z1 = stdlib_complex64( 5.0, 2.0 );
136136
stdlib_complex64_t z2 = stdlib_complex64( 5.0, 2.0 );
137137

138-
bool v = stdlib_complex_is_equalf( z1, z2 );
138+
bool v = stdlib_base_complex64_is_equal( z1, z2 );
139139
```
140140

141141
The function accepts the following arguments:
@@ -144,7 +144,7 @@ The function accepts the following arguments:
144144
- **z2**: `[in] stdlib_complex64_t` second single-precision complex floating-point number.
145145

146146
```c
147-
bool stdlib_complex_is_equalf( const stdlib_complex64_t z1, const stdlib_complex64_t z2 );
147+
bool stdlib_base_complex64_is_equal( const stdlib_complex64_t z1, const stdlib_complex64_t z2 );
148148
```
149149
150150
</section>
@@ -182,7 +182,7 @@ int main( void ) {
182182
bool v;
183183
int i;
184184
for ( i = 0; i < 4; i++ ) {
185-
v = stdlib_complex_is_equalf( z[ i ], z[ i ] );
185+
v = stdlib_base_complex64_is_equal( z[ i ], z[ i ] );
186186
printf( "Equal? %s\n", ( v ) ? "True" : "False" );
187187
}
188188
}

lib/node_modules/@stdlib/complex/base/assert/is-equalf/examples/c/example.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ int main( void ) {
3232
bool v;
3333
int i;
3434
for ( i = 0; i < 4; i++ ) {
35-
v = stdlib_complex_is_equalf( z[ i ], z[ i ] );
35+
v = stdlib_base_complex64_is_equal( z[ i ], z[ i ] );
3636
printf( "Equal? %s\n", ( v ) ? "True" : "False" );
3737
}
3838
}

lib/node_modules/@stdlib/complex/base/assert/is-equalf/include/stdlib/complex/base/assert/is_equalf.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ extern "C" {
3232
/**
3333
* Tests whether two single-precision complex floating-point numbers are equal.
3434
*/
35-
bool stdlib_complex_is_equalf( const stdlib_complex64_t z1, const stdlib_complex64_t z2 );
35+
bool stdlib_base_complex64_is_equal( const stdlib_complex64_t z1, const stdlib_complex64_t z2 );
3636

3737
#ifdef __cplusplus
3838
}

lib/node_modules/@stdlib/complex/base/assert/is-equalf/src/main.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@
3535
* stdlib_complex64_t z1 = stdlib_complex64( 5.0, 2.0 );
3636
* stdlib_complex64_t z2 = stdlib_complex64( 5.0, 2.0 );
3737
*
38-
* bool v = stdlib_complex_is_equalf( z1, z2 );
38+
* bool v = stdlib_base_complex64_is_equal( z1, z2 );
3939
*/
40-
bool stdlib_complex_is_equalf( const stdlib_complex64_t z1, const stdlib_complex64_t z2 ) {
40+
bool stdlib_base_complex64_is_equal( const stdlib_complex64_t z1, const stdlib_complex64_t z2 ) {
4141
float re1;
4242
float re2;
4343
float im1;

lib/node_modules/@stdlib/complex/base/assert/is-not-equal/README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ out = isNotEqual( z1, z2 );
124124
#include "stdlib/complex/base/assert/is_not_equal.h"
125125
```
126126

127-
#### stdlib_complex_is_not_equal( z1, z2 )
127+
#### stdlib_base_complex128_is_not_equal( z1, z2 )
128128

129129
Tests whether double-precision complex floating-point numbers are not equal.
130130

@@ -135,7 +135,7 @@ Tests whether double-precision complex floating-point numbers are not equal.
135135
stdlib_complex128_t z1 = stdlib_complex128( 5.0, 2.0 );
136136
stdlib_complex128_t z2 = stdlib_complex128( 5.0, -2.0 );
137137

138-
bool v = stdlib_complex_is_not_equal( z1, z2 );
138+
bool v = stdlib_base_complex128_is_not_equal( z1, z2 );
139139
```
140140

141141
The function accepts the following arguments:
@@ -144,7 +144,7 @@ The function accepts the following arguments:
144144
- **z2**: `[in] stdlib_complex128_t` second double-precision complex floating-point number.
145145

146146
```c
147-
bool stdlib_complex_is_not_equal( const stdlib_complex128_t z1, const stdlib_complex128_t z2 );
147+
bool stdlib_base_complex128_is_not_equal( const stdlib_complex128_t z1, const stdlib_complex128_t z2 );
148148
```
149149
150150
</section>
@@ -182,7 +182,7 @@ int main( void ) {
182182
bool v;
183183
int i;
184184
for ( i = 0; i < 4; i++ ) {
185-
v = stdlib_complex_is_not_equal( z[ i ], z[ i ] );
185+
v = stdlib_base_complex128_is_not_equal( z[ i ], z[ i ] );
186186
printf( "Equal? %s\n", ( v ) ? "True" : "False" );
187187
}
188188
}

lib/node_modules/@stdlib/complex/base/assert/is-not-equal/examples/c/example.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ int main( void ) {
3232
bool v;
3333
int i;
3434
for ( i = 0; i < 4; i++ ) {
35-
v = stdlib_complex_is_not_equal( z[ i ], z[ i ] );
35+
v = stdlib_base_complex128_is_not_equal( z[ i ], z[ i ] );
3636
printf( "Equal? %s\n", ( v ) ? "True" : "False" );
3737
}
3838
}

lib/node_modules/@stdlib/complex/base/assert/is-not-equal/include/stdlib/complex/base/assert/is_not_equal.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ extern "C" {
3232
/**
3333
* Tests whether two double-precision complex floating-point numbers are not equal.
3434
*/
35-
bool stdlib_complex_is_not_equal( const stdlib_complex128_t z1, const stdlib_complex128_t z2 );
35+
bool stdlib_base_complex128_is_not_equal( const stdlib_complex128_t z1, const stdlib_complex128_t z2 );
3636

3737
#ifdef __cplusplus
3838
}

lib/node_modules/@stdlib/complex/base/assert/is-not-equal/src/main.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@
3535
* stdlib_complex128_t z1 = stdlib_complex128( 5.0, 2.0 );
3636
* stdlib_complex128_t z2 = stdlib_complex128( 5.0, -2.0 );
3737
*
38-
* bool v = stdlib_complex_is_not_equal( z1, z2 );
38+
* bool v = stdlib_base_complex128_is_not_equal( z1, z2 );
3939
*/
40-
bool stdlib_complex_is_not_equal( const stdlib_complex128_t z1, const stdlib_complex128_t z2 ) {
40+
bool stdlib_base_complex128_is_not_equal( const stdlib_complex128_t z1, const stdlib_complex128_t z2 ) {
4141
double re1;
4242
double re2;
4343
double im1;

lib/node_modules/@stdlib/complex/base/assert/is-not-equalf/README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ out = isNotEqualf( z1, z2 );
124124
#include "stdlib/complex/base/assert/is_not_equalf.h"
125125
```
126126

127-
#### stdlib_complex_is_not_equalf( z1, z2 )
127+
#### stdlib_base_complex64_is_not_equal( z1, z2 )
128128

129129
Tests whether single-precision complex floating-point numbers are not equal.
130130

@@ -135,7 +135,7 @@ Tests whether single-precision complex floating-point numbers are not equal.
135135
stdlib_complex64_t z1 = stdlib_complex64( 5.0, 2.0 );
136136
stdlib_complex64_t z2 = stdlib_complex64( 5.0, -2.0 );
137137

138-
bool v = stdlib_complex_is_not_equalf( z1, z2 );
138+
bool v = stdlib_base_complex64_is_not_equal( z1, z2 );
139139
```
140140

141141
The function accepts the following arguments:
@@ -144,7 +144,7 @@ The function accepts the following arguments:
144144
- **z2**: `[in] stdlib_complex64_t` second single-precision complex floating-point number.
145145

146146
```c
147-
bool stdlib_complex_is_not_equalf( const stdlib_complex64_t z1, const stdlib_complex64_t z2 );
147+
bool stdlib_base_complex64_is_not_equal( const stdlib_complex64_t z1, const stdlib_complex64_t z2 );
148148
```
149149
150150
</section>
@@ -182,7 +182,7 @@ int main( void ) {
182182
bool v;
183183
int i;
184184
for ( i = 0; i < 4; i++ ) {
185-
v = stdlib_complex_is_not_equalf( z[ i ], z[ i ] );
185+
v = stdlib_base_complex64_is_not_equal( z[ i ], z[ i ] );
186186
printf( "Equal? %s\n", ( v ) ? "True" : "False" );
187187
}
188188
}

lib/node_modules/@stdlib/complex/base/assert/is-not-equalf/examples/c/example.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ int main( void ) {
3232
bool v;
3333
int i;
3434
for ( i = 0; i < 4; i++ ) {
35-
v = stdlib_complex_is_not_equalf( z[ i ], z[ i ] );
35+
v = stdlib_base_complex64_is_not_equal( z[ i ], z[ i ] );
3636
printf( "Equal? %s\n", ( v ) ? "True" : "False" );
3737
}
3838
}

lib/node_modules/@stdlib/complex/base/assert/is-not-equalf/include/stdlib/complex/base/assert/is_not_equalf.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ extern "C" {
3232
/**
3333
* Tests whether two single-precision complex floating-point numbers are not equal.
3434
*/
35-
bool stdlib_complex_is_not_equalf( const stdlib_complex64_t z1, const stdlib_complex64_t z2 );
35+
bool stdlib_base_complex64_is_not_equal( const stdlib_complex64_t z1, const stdlib_complex64_t z2 );
3636

3737
#ifdef __cplusplus
3838
}

lib/node_modules/@stdlib/complex/base/assert/is-not-equalf/src/main.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@
3535
* stdlib_complex64_t z1 = stdlib_complex64( 5.0, 2.0 );
3636
* stdlib_complex64_t z2 = stdlib_complex64( 5.0, -2.0 );
3737
*
38-
* bool v = stdlib_complex_is_not_equalf( z1, z2 );
38+
* bool v = stdlib_base_complex64_is_not_equal( z1, z2 );
3939
*/
40-
bool stdlib_complex_is_not_equalf( const stdlib_complex64_t z1, const stdlib_complex64_t z2 ) {
40+
bool stdlib_base_complex64_is_not_equal( const stdlib_complex64_t z1, const stdlib_complex64_t z2 ) {
4141
float re1;
4242
float re2;
4343
float im1;

0 commit comments

Comments
 (0)