You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- <spanclass="signature">[`conj( z )`][@stdlib/complex/conj]</span><spanclass="delimiter">: </span><spanclass="description">return the complex conjugate of a complex number.</span>
77
77
- <spanclass="signature">[`imag( z )`][@stdlib/complex/imag]</span><spanclass="delimiter">: </span><spanclass="description">return the imaginary component of a complex number.</span>
78
78
- <spanclass="signature">[`real( z )`][@stdlib/complex/real]</span><spanclass="delimiter">: </span><spanclass="description">return the real component of a complex number.</span>
79
79
- <spanclass="signature">[`reim( z )`][@stdlib/complex/reim]</span><spanclass="delimiter">: </span><spanclass="description">return the real and imaginary components of a complex number.</span>
80
+
- <spanclass="signature">[`reviveComplex( key, value )`][@stdlib/complex/reviver]</span><spanclass="delimiter">: </span><spanclass="description">revive a JSON-serialized complex number.</span>
81
+
- <spanclass="signature">[`reviveComplex64( key, value )`][@stdlib/complex/reviver-float32]</span><spanclass="delimiter">: </span><spanclass="description">revive a JSON-serialized 64-bit complex number.</span>
82
+
- <spanclass="signature">[`reviveComplex128( key, value )`][@stdlib/complex/reviver-float64]</span><spanclass="delimiter">: </span><spanclass="description">revive a JSON-serialized 128-bit complex number.</span>
80
83
81
84
</div>
82
85
@@ -92,29 +95,6 @@ str = v.toString();
92
95
// returns '5 - 3i'
93
96
```
94
97
95
-
Finally, the namespace contains utility functions to revive JSON-serialized `complex` numbers.
96
-
97
-
<!-- <toc keywords="+reviver"> -->
98
-
99
-
<divclass="namespace-toc">
100
-
101
-
- <spanclass="signature">[`reviveComplex( key, value )`][@stdlib/complex/reviver]</span><spanclass="delimiter">: </span><spanclass="description">revive a JSON-serialized complex number.</span>
102
-
- <spanclass="signature">[`reviveComplex64( key, value )`][@stdlib/complex/reviver-float32]</span><spanclass="delimiter">: </span><spanclass="description">revive a JSON-serialized 64-bit complex number.</span>
103
-
- <spanclass="signature">[`reviveComplex128( key, value )`][@stdlib/complex/reviver-float64]</span><spanclass="delimiter">: </span><spanclass="description">revive a JSON-serialized 128-bit complex number.</span>
104
-
105
-
</div>
106
-
107
-
<!-- </toc> -->
108
-
109
-
```javascript
110
-
var parseJSON =require( '@stdlib/utils/parse-json' );
0 commit comments