<trclass="memdesc:ga7ca088b8090b9f84f2e08345cf3f835a"><tdclass="mdescLeft"> </td><tdclass="mdescRight">A 1D array of numbers starting at <code>start</code> (optional), stopping at stop, stepping by <code>step</code> (optional). <br/></td></tr>
<trclass="memitem:ga6b945f513077c2978afc1a952c884860"id="r_ga6b945f513077c2978afc1a952c884860"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__ops.html#ga6b945f513077c2978afc1a952c884860">mlx::core::arange</a> (int start, int stop, int step, <aclass="el"href="namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58">StreamOrDevice</a> s={})</td></tr>
<trclass="memdesc:ga968bcabed902311dcfbd903b0fb886ec"><tdclass="mdescLeft"> </td><tdclass="mdescRight">A 1D array of <code>num</code> evenly spaced numbers in the range <code>[start, stop]</code><br/></td></tr>
<trclass="memitem:ga0e58c24fc5668e5a521e5b45e8370a62"id="r_ga0e58c24fc5668e5a521e5b45e8370a62"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__ops.html#ga0e58c24fc5668e5a521e5b45e8370a62">mlx::core::astype</a> (<aclass="el"href="classmlx_1_1core_1_1array.html">array</a> a, <aclass="el"href="structmlx_1_1core_1_1_dtype.html">Dtype</a> dtype, <aclass="el"href="namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58">StreamOrDevice</a> s={})</td></tr>
<trclass="memdesc:ga0e58c24fc5668e5a521e5b45e8370a62"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Convert an array to the given data type. <br/></td></tr>
<trclass="memdesc:ga6085b03f2662ef2a61de523fd609f3bf"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Create a view of an array with the given shape and strides. <br/></td></tr>
<trclass="memitem:gae306e93af12f774bd80bad6c231b09d6"id="r_gae306e93af12f774bd80bad6c231b09d6"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__ops.html#gae306e93af12f774bd80bad6c231b09d6">mlx::core::copy</a> (<aclass="el"href="classmlx_1_1core_1_1array.html">array</a> a, <aclass="el"href="namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58">StreamOrDevice</a> s={})</td></tr>
<trclass="memdesc:gae306e93af12f774bd80bad6c231b09d6"><tdclass="mdescLeft"> </td><tdclass="mdescRight"><aclass="el"href="classmlx_1_1core_1_1_copy.html">Copy</a> another array. <br/></td></tr>
<trclass="memdesc:ga1cf232308668fe3f4214c8b895ed4aee"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Fill an array of the given shape with the given value(s). <br/></td></tr>
<trclass="memdesc:gae2cace3b388cec4e520659a91879e1c1"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Fill an array of the given shape with zeros. <br/></td></tr>
<trclass="memdesc:gae0069146cf8c819b15ba29aa7231a3f0"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Fill an array of the given shape with ones. <br/></td></tr>
<trclass="memitem:ga45e9e68246b0d1cf03c3cc9c9e7e6ae3"id="r_ga45e9e68246b0d1cf03c3cc9c9e7e6ae3"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__ops.html#ga45e9e68246b0d1cf03c3cc9c9e7e6ae3">mlx::core::eye</a> (int n, int m, int k, <aclass="el"href="structmlx_1_1core_1_1_dtype.html">Dtype</a> dtype, <aclass="el"href="namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58">StreamOrDevice</a> s={})</td></tr>
<trclass="memdesc:ga45e9e68246b0d1cf03c3cc9c9e7e6ae3"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Fill an array of the given shape (n,m) with ones in the specified diagonal k, and zeros everywhere else. <br/></td></tr>
<trclass="memitem:ga61657db78ef35d41112d362c869c25d2"id="r_ga61657db78ef35d41112d362c869c25d2"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__ops.html#ga61657db78ef35d41112d362c869c25d2">mlx::core::eye</a> (int n, int m, <aclass="el"href="namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58">StreamOrDevice</a> s={})</td></tr>
<trclass="memitem:ga908a15b42834be498a46856c99dfc779"id="r_ga908a15b42834be498a46856c99dfc779"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__ops.html#ga908a15b42834be498a46856c99dfc779">mlx::core::eye</a> (int n, int m, int k, <aclass="el"href="namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58">StreamOrDevice</a> s={})</td></tr>
<trclass="memitem:gab777fcf6d4a89172c69ec3492548dc0f"id="r_gab777fcf6d4a89172c69ec3492548dc0f"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__ops.html#gab777fcf6d4a89172c69ec3492548dc0f">mlx::core::eye</a> (int n, <aclass="el"href="namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58">StreamOrDevice</a> s={})</td></tr>
<trclass="memitem:ga484eaa10d5e19a4ca46d3a9cd9fab600"id="r_ga484eaa10d5e19a4ca46d3a9cd9fab600"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__ops.html#ga484eaa10d5e19a4ca46d3a9cd9fab600">mlx::core::identity</a> (int n, <aclass="el"href="structmlx_1_1core_1_1_dtype.html">Dtype</a> dtype, <aclass="el"href="namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58">StreamOrDevice</a> s={})</td></tr>
<trclass="memdesc:ga484eaa10d5e19a4ca46d3a9cd9fab600"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Create a square matrix of shape (n,n) of zeros, and ones in the major diagonal. <br/></td></tr>
<trclass="memitem:gad994d65ac6019c26b5ad6c41179d3424"id="r_gad994d65ac6019c26b5ad6c41179d3424"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__ops.html#gad994d65ac6019c26b5ad6c41179d3424">mlx::core::identity</a> (int n, <aclass="el"href="namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58">StreamOrDevice</a> s={})</td></tr>
<trclass="memitem:ga4f3389e5b89e70e862e7d2b40d6c7f78"id="r_ga4f3389e5b89e70e862e7d2b40d6c7f78"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__ops.html#ga4f3389e5b89e70e862e7d2b40d6c7f78">mlx::core::tri</a> (int n, int m, int k, <aclass="el"href="structmlx_1_1core_1_1_dtype.html">Dtype</a> type, <aclass="el"href="namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58">StreamOrDevice</a> s={})</td></tr>
<trclass="memdesc:ga084f03ce2b22258afb7c8b45e17af828"><tdclass="mdescLeft"> </td><tdclass="mdescRight"><aclass="el"href="classmlx_1_1core_1_1_reshape.html">Reshape</a> an array to the given shape. <br/></td></tr>
<trclass="memitem:ga666bcc2187a144247e8c0c224b016625"id="r_ga666bcc2187a144247e8c0c224b016625"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__ops.html#ga666bcc2187a144247e8c0c224b016625">mlx::core::unflatten</a> (const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&a, int axis, <aclass="el"href="namespacemlx_1_1core.html#a694e23f2d59606643728ad443d621416">Shape</a> shape, <aclass="el"href="namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58">StreamOrDevice</a> s={})</td></tr>
<trclass="memdesc:ga666bcc2187a144247e8c0c224b016625"><tdclass="mdescLeft"> </td><tdclass="mdescRight"><aclass="el"href="classmlx_1_1core_1_1_unflatten.html">Unflatten</a> the axis to the given shape. <br/></td></tr>
<trclass="memitem:ga50aa98754b412bb57c083f6e3e95061f"id="r_ga50aa98754b412bb57c083f6e3e95061f"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__ops.html#ga50aa98754b412bb57c083f6e3e95061f">mlx::core::flatten</a> (const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&a, int start_axis, int end_axis=-1, <aclass="el"href="namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58">StreamOrDevice</a> s={})</td></tr>
<trclass="memdesc:ga50aa98754b412bb57c083f6e3e95061f"><tdclass="mdescLeft"> </td><tdclass="mdescRight"><aclass="el"href="classmlx_1_1core_1_1_flatten.html">Flatten</a> the dimensions in the range <code>[start_axis, end_axis]</code> . <br/></td></tr>
<trclass="memdesc:gaa6adbc9c86f0ab27d8810a02e9e719fd"><tdclass="mdescLeft"> </td><tdclass="mdescRight"><aclass="el"href="classmlx_1_1core_1_1_flatten.html">Flatten</a> the array to 1D. <br/></td></tr>
<trclass="memdesc:ga872d2c1806e67ce2596b24d056681074"><tdclass="mdescLeft"> </td><tdclass="mdescRight"><aclass="el"href="classmlx_1_1core_1_1_multiply.html">Multiply</a> the array by the <aclass="el"href="classmlx_1_1core_1_1_hadamard.html">Hadamard</a> matrix of corresponding size. <br/></td></tr>
<trclass="memitem:ga710daa7ec721bd4d3f326082cb195576"id="r_ga710daa7ec721bd4d3f326082cb195576"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__ops.html#ga710daa7ec721bd4d3f326082cb195576">mlx::core::squeeze</a> (const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&a, const std::vector< int >&axes, <aclass="el"href="namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58">StreamOrDevice</a> s={})</td></tr>
<trclass="memdesc:ga710daa7ec721bd4d3f326082cb195576"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Remove singleton dimensions at the given axes. <br/></td></tr>
<trclass="memitem:ga700dd51b77379a3d2260a55783e8ebf3"id="r_ga700dd51b77379a3d2260a55783e8ebf3"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__ops.html#ga700dd51b77379a3d2260a55783e8ebf3">mlx::core::squeeze</a> (const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&a, int axis, <aclass="el"href="namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58">StreamOrDevice</a> s={})</td></tr>
<trclass="memdesc:ga700dd51b77379a3d2260a55783e8ebf3"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Remove singleton dimensions at the given axis. <br/></td></tr>
<trclass="memdesc:ga58bad3c61fd85b95927a987ba1cf5dad"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Remove all singleton dimensions. <br/></td></tr>
<trclass="memitem:ga717f11149a8c7b4cc3e33bbcc0a97133"id="r_ga717f11149a8c7b4cc3e33bbcc0a97133"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__ops.html#ga717f11149a8c7b4cc3e33bbcc0a97133">mlx::core::expand_dims</a> (const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&a, const std::vector< int >&axes, <aclass="el"href="namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58">StreamOrDevice</a> s={})</td></tr>
<trclass="memdesc:ga717f11149a8c7b4cc3e33bbcc0a97133"><tdclass="mdescLeft"> </td><tdclass="mdescRight"><aclass="el"href="classmlx_1_1core_1_1_add.html">Add</a> a singleton dimension at the given axes. <br/></td></tr>
<trclass="memitem:ga7a80adb4a5a36d18b5f234d4b034950a"id="r_ga7a80adb4a5a36d18b5f234d4b034950a"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__ops.html#ga7a80adb4a5a36d18b5f234d4b034950a">mlx::core::expand_dims</a> (const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&a, int axis, <aclass="el"href="namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58">StreamOrDevice</a> s={})</td></tr>
<trclass="memdesc:ga7a80adb4a5a36d18b5f234d4b034950a"><tdclass="mdescLeft"> </td><tdclass="mdescRight"><aclass="el"href="classmlx_1_1core_1_1_add.html">Add</a> a singleton dimension at the given axis. <br/></td></tr>
<trclass="memdesc:ga29718cd5005dbcde0396b6fd65cc041d"><tdclass="mdescLeft"> </td><tdclass="mdescRight"><aclass="el"href="classmlx_1_1core_1_1_slice.html">Slice</a> an array. <br/></td></tr>
<trclass="memdesc:gaec56dcb94d5e7f7b885fb60b4bf4aa9d"><tdclass="mdescLeft"> </td><tdclass="mdescRight"><aclass="el"href="classmlx_1_1core_1_1_slice.html">Slice</a> an array with a stride of 1 in each dimension. <br/></td></tr>
<trclass="memdesc:ga797996e53ea34317a55dc2f314736b89"><tdclass="mdescLeft"> </td><tdclass="mdescRight"><aclass="el"href="classmlx_1_1core_1_1_slice.html">Slice</a> an array with dynamic starting indices. <br/></td></tr>
<trclass="memdesc:ga7b7e786985d27789aaed20bb2f9509be"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Update a slice from the source array. <br/></td></tr>
<trclass="memdesc:ga3b7c6136ae5a38dd6457b65c1833aa67"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Update a slice from the source array with stride 1 in each dimension. <br/></td></tr>
<trclass="memdesc:gacd906ffb96149a4998c321cbf2231d7e"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Update a slice from the source array with dynamic starting indices. <br/></td></tr>
<trclass="memitem:ga7534290bceab5fb3831a05d67bebce7d"id="r_ga7534290bceab5fb3831a05d67bebce7d"><tdclass="memItemLeft"align="right"valign="top">std::vector<<aclass="el"href="classmlx_1_1core_1_1array.html">array</a>> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__ops.html#ga7534290bceab5fb3831a05d67bebce7d">mlx::core::split</a> (const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&a, int num_splits, int axis, <aclass="el"href="namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58">StreamOrDevice</a> s={})</td></tr>
<trclass="memdesc:ga7534290bceab5fb3831a05d67bebce7d"><tdclass="mdescLeft"> </td><tdclass="mdescRight"><aclass="el"href="classmlx_1_1core_1_1_split.html">Split</a> an array into sub-arrays along a given axis. <br/></td></tr>
<trclass="memdesc:ga5ecddb74ba7861eb82eca8653501d5dc"><tdclass="mdescLeft"> </td><tdclass="mdescRight">A vector of coordinate arrays from coordinate vectors. <br/></td></tr>
<trclass="memdesc:ga157cd7c23f9b306fee2e1eb2b9bf1dd8"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Clip (limit) the values in an array. <br/></td></tr>
<trclass="memitem:ga52838af566948b1b96e7aa00832071b3"id="r_ga52838af566948b1b96e7aa00832071b3"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__ops.html#ga52838af566948b1b96e7aa00832071b3">mlx::core::concatenate</a> (std::vector<<aclass="el"href="classmlx_1_1core_1_1array.html">array</a>> arrays, int axis, <aclass="el"href="namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58">StreamOrDevice</a> s={})</td></tr>
<trclass="memdesc:ga52838af566948b1b96e7aa00832071b3"><tdclass="mdescLeft"> </td><tdclass="mdescRight"><aclass="el"href="classmlx_1_1core_1_1_concatenate.html">Concatenate</a> arrays along a given axis. <br/></td></tr>
<trclass="memitem:gaf8f2ec2b98a4b59eca73d7471df6e032"id="r_gaf8f2ec2b98a4b59eca73d7471df6e032"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__ops.html#gaf8f2ec2b98a4b59eca73d7471df6e032">mlx::core::stack</a> (const std::vector<<aclass="el"href="classmlx_1_1core_1_1array.html">array</a>>&arrays, int axis, <aclass="el"href="namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58">StreamOrDevice</a> s={})</td></tr>
<trclass="memdesc:gaf8f2ec2b98a4b59eca73d7471df6e032"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Stack arrays along a new axis. <br/></td></tr>
<trclass="memitem:gab49e3a687e826554ed1574186e8ae974"id="r_gab49e3a687e826554ed1574186e8ae974"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__ops.html#gab49e3a687e826554ed1574186e8ae974">mlx::core::repeat</a> (const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&arr, int repeats, int axis, <aclass="el"href="namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58">StreamOrDevice</a> s={})</td></tr>
<trclass="memdesc:gab49e3a687e826554ed1574186e8ae974"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Repeat an array along an axis. <br/></td></tr>
<trclass="memitem:gac1869f3b7094869b44fe7ac4ce58638b"id="r_gac1869f3b7094869b44fe7ac4ce58638b"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__ops.html#gac1869f3b7094869b44fe7ac4ce58638b">mlx::core::transpose</a> (const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&a, std::vector< int > axes, <aclass="el"href="namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58">StreamOrDevice</a> s={})</td></tr>
<trclass="memdesc:gac1869f3b7094869b44fe7ac4ce58638b"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Permutes the dimensions according to the given axes. <br/></td></tr>
<trclass="memitem:gabc46eed81ab6c6247903e4ec0c4ec1fb"id="r_gabc46eed81ab6c6247903e4ec0c4ec1fb"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__ops.html#gabc46eed81ab6c6247903e4ec0c4ec1fb">mlx::core::swapaxes</a> (const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&a, int axis1, int axis2, <aclass="el"href="namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58">StreamOrDevice</a> s={})</td></tr>
<trclass="memdesc:gabc46eed81ab6c6247903e4ec0c4ec1fb"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Swap two axes of an array. <br/></td></tr>
<trclass="memitem:ga24067d10a842db2c9d509ea48135a2c3"id="r_ga24067d10a842db2c9d509ea48135a2c3"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__ops.html#ga24067d10a842db2c9d509ea48135a2c3">mlx::core::moveaxis</a> (const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&a, int source, int destination, <aclass="el"href="namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58">StreamOrDevice</a> s={})</td></tr>
<trclass="memdesc:ga24067d10a842db2c9d509ea48135a2c3"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Move an axis of an array. <br/></td></tr>
<trclass="memdesc:gab95ebd20bd7c6d1c840007cc020cbc0c"><tdclass="mdescLeft"> </td><tdclass="mdescRight"><aclass="el"href="classmlx_1_1core_1_1_pad.html">Pad</a> an array with a constant value. <br/></td></tr>
<trclass="memdesc:gad89f464e92c356faab1f1c2e763b1fb7"><tdclass="mdescLeft"> </td><tdclass="mdescRight"><aclass="el"href="classmlx_1_1core_1_1_pad.html">Pad</a> an array with a constant value along all axes. <br/></td></tr>
<trclass="memdesc:ga68da0176fefbe0c0096783c6fd926c6a"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Permutes the dimensions in reverse order. <br/></td></tr>
<trclass="memdesc:ga2fd5891f11593b7f09550e884f969013"><tdclass="mdescLeft"> </td><tdclass="mdescRight"><aclass="el"href="classmlx_1_1core_1_1_broadcast.html">Broadcast</a> an array to a given shape. <br/></td></tr>
<trclass="memdesc:gab783890428b596f715dc7dd2057eae99"><tdclass="mdescLeft"> </td><tdclass="mdescRight"><aclass="el"href="classmlx_1_1core_1_1_broadcast.html">Broadcast</a> a vector of arrays against one another. <br/></td></tr>
<trclass="memdesc:ga33638dc3a9972dd02be12d0eb85f9bde"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns the bool array with (a == b) element-wise. <br/></td></tr>
<trclass="memitem:gaf115782d009ac2a547fcca395c9ec797"><tdclass="memTemplItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memTemplItemRight"valign="bottom"><aclass="el"href="group__ops.html#gaf115782d009ac2a547fcca395c9ec797">mlx::core::operator==</a> (T a, const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&b)</td></tr>
<trclass="memitem:ga3ad3ed7aece2650943a35082dbe3a0a5"><tdclass="memTemplItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memTemplItemRight"valign="bottom"><aclass="el"href="group__ops.html#ga3ad3ed7aece2650943a35082dbe3a0a5">mlx::core::operator==</a> (const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&a, T b)</td></tr>
<trclass="memdesc:ga28f22c5d2c399eee53be7b3facc11103"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns the bool array with (a != b) element-wise. <br/></td></tr>
<trclass="memitem:ga3fecba9f3cb9a19afd8ca492cf509ce0"><tdclass="memTemplItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memTemplItemRight"valign="bottom"><aclass="el"href="group__ops.html#ga3fecba9f3cb9a19afd8ca492cf509ce0">mlx::core::operator!=</a> (T a, const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&b)</td></tr>
<trclass="memitem:gaebbf1cfde388c7480159a03c92c9a385"><tdclass="memTemplItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memTemplItemRight"valign="bottom"><aclass="el"href="group__ops.html#gaebbf1cfde388c7480159a03c92c9a385">mlx::core::operator!=</a> (const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&a, T b)</td></tr>
<trclass="memdesc:gaf4ec7bfc1ad13b891f1f3ef1772ef04d"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns bool array with (a > b) element-wise. <br/></td></tr>
<trclass="memitem:ga32e106e794e2c32e4e7decee2df2477f"><tdclass="memTemplItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memTemplItemRight"valign="bottom"><aclass="el"href="group__ops.html#ga32e106e794e2c32e4e7decee2df2477f">mlx::core::operator></a> (T a, const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&b)</td></tr>
<trclass="memitem:ga96552b90e89923c5d2064cc427775ec5"><tdclass="memTemplItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memTemplItemRight"valign="bottom"><aclass="el"href="group__ops.html#ga96552b90e89923c5d2064cc427775ec5">mlx::core::operator></a> (const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&a, T b)</td></tr>
<trclass="memdesc:ga7153071bcfff6faad21332163fb9a430"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns bool array with (a >= b) element-wise. <br/></td></tr>
<trclass="memitem:gaf509f2cb3b18963232f20d6c3bd229b2"><tdclass="memTemplItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memTemplItemRight"valign="bottom"><aclass="el"href="group__ops.html#gaf509f2cb3b18963232f20d6c3bd229b2">mlx::core::operator>=</a> (T a, const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&b)</td></tr>
<trclass="memitem:gafa0eb25d5978674bfc9e59d4145ec590"><tdclass="memTemplItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memTemplItemRight"valign="bottom"><aclass="el"href="group__ops.html#gafa0eb25d5978674bfc9e59d4145ec590">mlx::core::operator>=</a> (const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&a, T b)</td></tr>
<trclass="memdesc:ga9142b8d717699a8abfa2a7398891ff8a"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns bool array with (a < b) element-wise. <br/></td></tr>
<trclass="memitem:ga1ef8ea11cf15ce628c54201fa42748ef"><tdclass="memTemplItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memTemplItemRight"valign="bottom"><aclass="el"href="group__ops.html#ga1ef8ea11cf15ce628c54201fa42748ef">mlx::core::operator<</a> (T a, const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&b)</td></tr>
<trclass="memitem:ga95e72226dc7a79c40b3d16f990922050"><tdclass="memTemplItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memTemplItemRight"valign="bottom"><aclass="el"href="group__ops.html#ga95e72226dc7a79c40b3d16f990922050">mlx::core::operator<</a> (const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&a, T b)</td></tr>
<trclass="memdesc:ga0d49e0c7011d0573c369c13c8f045a09"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns bool array with (a <= b) element-wise. <br/></td></tr>
<trclass="memitem:ga150a9be467c9f91482a6d6fc13504bc4"><tdclass="memTemplItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memTemplItemRight"valign="bottom"><aclass="el"href="group__ops.html#ga150a9be467c9f91482a6d6fc13504bc4">mlx::core::operator<=</a> (T a, const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&b)</td></tr>
<trclass="memitem:ga624eeccef0cc4b130e1325abfea057cb"><tdclass="memTemplItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memTemplItemRight"valign="bottom"><aclass="el"href="group__ops.html#ga624eeccef0cc4b130e1325abfea057cb">mlx::core::operator<=</a> (const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&a, T b)</td></tr>
<trclass="memdesc:ga8f3059336ee0c87207b1f8c6ab312645"><tdclass="mdescLeft"> </td><tdclass="mdescRight">True if two arrays have the same shape and elements. <br/></td></tr>
<trclass="memdesc:ga8a2056f8c9bb30914c40bcf509386491"><tdclass="mdescLeft"> </td><tdclass="mdescRight"><aclass="el"href="classmlx_1_1core_1_1_select.html">Select</a> from x or y depending on condition. <br/></td></tr>
<trclass="memdesc:gab1467c6a9e675152e768afd6dcfb61de"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Replace NaN and infinities with finite numbers. <br/></td></tr>
<trclass="memdesc:ga3b1b90ef1275ca17655b6d7f25d3ee68"><tdclass="mdescLeft"> </td><tdclass="mdescRight">True if all elements in the array are true (or non-zero). <br/></td></tr>
<trclass="memdesc:gaf0cd4257de7542daf9faf5e605e31020"><tdclass="mdescLeft"> </td><tdclass="mdescRight">True if the two arrays are equal within the specified tolerance. <br/></td></tr>
<trclass="memdesc:ga51eac95c04400921c54716de14b52491"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns a boolean array where two arrays are element-wise equal within the specified tolerance. <br/></td></tr>
<trclass="memdesc:gac0919c6ba53aea35a7683dea7e9a9a59"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Reduces the input along the given axes. <br/></td></tr>
<trclass="memitem:gae2d5fcc5b62d673cca76c08b7b4afbbc"id="r_gae2d5fcc5b62d673cca76c08b7b4afbbc"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__ops.html#gae2d5fcc5b62d673cca76c08b7b4afbbc">mlx::core::all</a> (const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&a, int axis, bool keepdims=false, <aclass="el"href="namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58">StreamOrDevice</a> s={})</td></tr>
<trclass="memdesc:gae2d5fcc5b62d673cca76c08b7b4afbbc"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Reduces the input along the given axis. <br/></td></tr>
<trclass="memdesc:ga8598dd718fb05cb28535e250372d4e6f"><tdclass="mdescLeft"> </td><tdclass="mdescRight">True if any elements in the array are true (or non-zero). <br/></td></tr>
<trclass="memdesc:gaf240618fc8b06debf5f56e97e84f18ef"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Reduces the input along the given axes. <br/></td></tr>
<trclass="memitem:gab1d56277d468a55227f4dad6bc2fc1ce"id="r_gab1d56277d468a55227f4dad6bc2fc1ce"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__ops.html#gab1d56277d468a55227f4dad6bc2fc1ce">mlx::core::any</a> (const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&a, int axis, bool keepdims=false, <aclass="el"href="namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58">StreamOrDevice</a> s={})</td></tr>
<trclass="memdesc:gab1d56277d468a55227f4dad6bc2fc1ce"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Reduces the input along the given axis. <br/></td></tr>
<trclass="memdesc:gade905ee92eb6ab7edfc312aeddfbaeb6"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Sums the elements of an array. <br/></td></tr>
<trclass="memdesc:gaccd0a6be2c5b5128fdc2d87b5c8e67f4"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Sums the elements of an array along the given axes. <br/></td></tr>
<trclass="memitem:gafcd39b0bf39a56c26a967981c7ab8a8d"id="r_gafcd39b0bf39a56c26a967981c7ab8a8d"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__ops.html#gafcd39b0bf39a56c26a967981c7ab8a8d">mlx::core::sum</a> (const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&a, int axis, bool keepdims=false, <aclass="el"href="namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58">StreamOrDevice</a> s={})</td></tr>
<trclass="memdesc:gafcd39b0bf39a56c26a967981c7ab8a8d"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Sums the elements of an array along the given axis. <br/></td></tr>
<trclass="memdesc:gade46e768fd46b8b640eb16f26abeecef"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Computes the mean of the elements of an array. <br/></td></tr>
<trclass="memdesc:ga066161f3d3e395a1d76c638cb680d444"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Computes the mean of the elements of an array along the given axes. <br/></td></tr>
<trclass="memitem:ga45fba73eab0e3b6e128ed3ce2f43a5da"id="r_ga45fba73eab0e3b6e128ed3ce2f43a5da"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__ops.html#ga45fba73eab0e3b6e128ed3ce2f43a5da">mlx::core::mean</a> (const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&a, int axis, bool keepdims=false, <aclass="el"href="namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58">StreamOrDevice</a> s={})</td></tr>
<trclass="memdesc:ga45fba73eab0e3b6e128ed3ce2f43a5da"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Computes the mean of the elements of an array along the given axis. <br/></td></tr>
<trclass="memitem:ga7e133df686439588a8cd1fb10ce0c6e9"id="r_ga7e133df686439588a8cd1fb10ce0c6e9"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__ops.html#ga7e133df686439588a8cd1fb10ce0c6e9">mlx::core::var</a> (const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&a, bool keepdims, int ddof=0, <aclass="el"href="namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58">StreamOrDevice</a> s={})</td></tr>
<trclass="memdesc:ga7e133df686439588a8cd1fb10ce0c6e9"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Computes the variance of the elements of an array. <br/></td></tr>
<trclass="memitem:ga78ddeb966cbe7a5b0aa17e1de43025f2"id="r_ga78ddeb966cbe7a5b0aa17e1de43025f2"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__ops.html#ga78ddeb966cbe7a5b0aa17e1de43025f2">mlx::core::var</a> (const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&a, const std::vector< int >&axes, bool keepdims=false, int ddof=0, <aclass="el"href="namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58">StreamOrDevice</a> s={})</td></tr>
<trclass="memdesc:ga78ddeb966cbe7a5b0aa17e1de43025f2"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Computes the variance of the elements of an array along the given axes. <br/></td></tr>
<trclass="memitem:ga4fbf3e3f98f2e4956faf87af320aa9d0"id="r_ga4fbf3e3f98f2e4956faf87af320aa9d0"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__ops.html#ga4fbf3e3f98f2e4956faf87af320aa9d0">mlx::core::var</a> (const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&a, int axis, bool keepdims=false, int ddof=0, <aclass="el"href="namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58">StreamOrDevice</a> s={})</td></tr>
<trclass="memdesc:ga4fbf3e3f98f2e4956faf87af320aa9d0"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Computes the variance of the elements of an array along the given axis. <br/></td></tr>
<trclass="memitem:ga2a466024f8061febc0a64be557644cb0"id="r_ga2a466024f8061febc0a64be557644cb0"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__ops.html#ga2a466024f8061febc0a64be557644cb0">mlx::core::std</a> (const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&a, bool keepdims, int ddof=0, <aclass="el"href="namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58">StreamOrDevice</a> s={})</td></tr>
<trclass="memdesc:ga2a466024f8061febc0a64be557644cb0"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Computes the standard deviation of the elements of an array. <br/></td></tr>
<trclass="memitem:ga7f649970bf38b987b6ef847054f3c2f8"id="r_ga7f649970bf38b987b6ef847054f3c2f8"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__ops.html#ga7f649970bf38b987b6ef847054f3c2f8">mlx::core::std</a> (const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&a, const std::vector< int >&axes, bool keepdims=false, int ddof=0, <aclass="el"href="namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58">StreamOrDevice</a> s={})</td></tr>
<trclass="memdesc:ga7f649970bf38b987b6ef847054f3c2f8"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Computes the standard deviatoin of the elements of an array along the given axes. <br/></td></tr>
<trclass="memitem:ga62721a206df671ef5797449eea97af9f"id="r_ga62721a206df671ef5797449eea97af9f"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__ops.html#ga62721a206df671ef5797449eea97af9f">mlx::core::std</a> (const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&a, int axis, bool keepdims=false, int ddof=0, <aclass="el"href="namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58">StreamOrDevice</a> s={})</td></tr>
<trclass="memdesc:ga62721a206df671ef5797449eea97af9f"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Computes the standard deviation of the elements of an array along the given axis. <br/></td></tr>
<trclass="memdesc:ga4a09b7241d564d92548bc2773eb1d544"><tdclass="mdescLeft"> </td><tdclass="mdescRight">The product of all elements of the array. <br/></td></tr>
<trclass="memdesc:ga2b3935108f641e20a70dbf63f540d970"><tdclass="mdescLeft"> </td><tdclass="mdescRight">The product of the elements of an array along the given axes. <br/></td></tr>
<trclass="memitem:ga8a10a10b81c69996d0aca8ba401f8ff0"id="r_ga8a10a10b81c69996d0aca8ba401f8ff0"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__ops.html#ga8a10a10b81c69996d0aca8ba401f8ff0">mlx::core::prod</a> (const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&a, int axis, bool keepdims=false, <aclass="el"href="namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58">StreamOrDevice</a> s={})</td></tr>
<trclass="memdesc:ga8a10a10b81c69996d0aca8ba401f8ff0"><tdclass="mdescLeft"> </td><tdclass="mdescRight">The product of the elements of an array along the given axis. <br/></td></tr>
<trclass="memdesc:ga7fed87d96cc7741d8267f4eac83f5fe7"><tdclass="mdescLeft"> </td><tdclass="mdescRight">The maximum of all elements of the array. <br/></td></tr>
<trclass="memdesc:ga1ca7b6b91fe2459a7d83897bf013827f"><tdclass="mdescLeft"> </td><tdclass="mdescRight">The maximum of the elements of an array along the given axes. <br/></td></tr>
<trclass="memitem:ga7b638050e03a93f2896c981bc2850a47"id="r_ga7b638050e03a93f2896c981bc2850a47"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__ops.html#ga7b638050e03a93f2896c981bc2850a47">mlx::core::max</a> (const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&a, int axis, bool keepdims=false, <aclass="el"href="namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58">StreamOrDevice</a> s={})</td></tr>
<trclass="memdesc:ga7b638050e03a93f2896c981bc2850a47"><tdclass="mdescLeft"> </td><tdclass="mdescRight">The maximum of the elements of an array along the given axis. <br/></td></tr>
<trclass="memdesc:gab27599802617a4c8f9964ab5f4ffee12"><tdclass="mdescLeft"> </td><tdclass="mdescRight">The minimum of all elements of the array. <br/></td></tr>
<trclass="memdesc:ga6efb83cd46436678c8f8c4af15cc00f5"><tdclass="mdescLeft"> </td><tdclass="mdescRight">The minimum of the elements of an array along the given axes. <br/></td></tr>
<trclass="memitem:ga36fa315eef677f4143868f552cd26d03"id="r_ga36fa315eef677f4143868f552cd26d03"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__ops.html#ga36fa315eef677f4143868f552cd26d03">mlx::core::min</a> (const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&a, int axis, bool keepdims=false, <aclass="el"href="namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58">StreamOrDevice</a> s={})</td></tr>
<trclass="memdesc:ga36fa315eef677f4143868f552cd26d03"><tdclass="mdescLeft"> </td><tdclass="mdescRight">The minimum of the elements of an array along the given axis. <br/></td></tr>
<trclass="memdesc:ga7c3bd5ef430a71dfd298e626741e3c71"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns the index of the minimum value in the array. <br/></td></tr>
<trclass="memitem:gaf66dc3c77b88e4009e0678eda41eca81"id="r_gaf66dc3c77b88e4009e0678eda41eca81"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__ops.html#gaf66dc3c77b88e4009e0678eda41eca81">mlx::core::argmin</a> (const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&a, int axis, bool keepdims=false, <aclass="el"href="namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58">StreamOrDevice</a> s={})</td></tr>
<trclass="memdesc:gaf66dc3c77b88e4009e0678eda41eca81"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns the indices of the minimum values along a given axis. <br/></td></tr>
<trclass="memdesc:gae60b0b5339b9c50b9970260faf613e83"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns the index of the maximum value in the array. <br/></td></tr>
<trclass="memitem:ga2efa67466510fc26ab9ea8dff30f2ba5"id="r_ga2efa67466510fc26ab9ea8dff30f2ba5"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__ops.html#ga2efa67466510fc26ab9ea8dff30f2ba5">mlx::core::argmax</a> (const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&a, int axis, bool keepdims=false, <aclass="el"href="namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58">StreamOrDevice</a> s={})</td></tr>
<trclass="memdesc:ga2efa67466510fc26ab9ea8dff30f2ba5"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns the indices of the maximum values along a given axis. <br/></td></tr>
<trclass="memdesc:ga7fb616054665b3c2d61fa234f501f079"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns a sorted copy of the flattened array. <br/></td></tr>
<trclass="memitem:gaae1bc47aa737f705d0e5884270063fea"id="r_gaae1bc47aa737f705d0e5884270063fea"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__ops.html#gaae1bc47aa737f705d0e5884270063fea">mlx::core::sort</a> (const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&a, int axis, <aclass="el"href="namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58">StreamOrDevice</a> s={})</td></tr>
<trclass="memdesc:gaae1bc47aa737f705d0e5884270063fea"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns a sorted copy of the array along a given axis. <br/></td></tr>
<trclass="memdesc:ga8df3b2703bf671457422894dd870cdc5"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns indices that sort the flattened array. <br/></td></tr>
<trclass="memitem:ga7878e0daa5a75f44e57b5fe948fa3ef6"id="r_ga7878e0daa5a75f44e57b5fe948fa3ef6"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__ops.html#ga7878e0daa5a75f44e57b5fe948fa3ef6">mlx::core::argsort</a> (const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&a, int axis, <aclass="el"href="namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58">StreamOrDevice</a> s={})</td></tr>
<trclass="memdesc:ga7878e0daa5a75f44e57b5fe948fa3ef6"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns indices that sort the array along a given axis. <br/></td></tr>
<trclass="memitem:gac1b30830a972fb9a2601379ad2b32405"id="r_gac1b30830a972fb9a2601379ad2b32405"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__ops.html#gac1b30830a972fb9a2601379ad2b32405">mlx::core::partition</a> (const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&a, int kth, <aclass="el"href="namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58">StreamOrDevice</a> s={})</td></tr>
<trclass="memdesc:gac1b30830a972fb9a2601379ad2b32405"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns a partitioned copy of the flattened array such that the smaller kth elements are first. <br/></td></tr>
<trclass="memitem:ga4fbea3a5f66cf81e3c119d1661119321"id="r_ga4fbea3a5f66cf81e3c119d1661119321"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__ops.html#ga4fbea3a5f66cf81e3c119d1661119321">mlx::core::partition</a> (const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&a, int kth, int axis, <aclass="el"href="namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58">StreamOrDevice</a> s={})</td></tr>
<trclass="memdesc:ga4fbea3a5f66cf81e3c119d1661119321"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns a partitioned copy of the array along a given axis such that the smaller kth elements are first. <br/></td></tr>
<trclass="memitem:gaf301c49c10fa9b95a9e8dc52ead1a8dd"id="r_gaf301c49c10fa9b95a9e8dc52ead1a8dd"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__ops.html#gaf301c49c10fa9b95a9e8dc52ead1a8dd">mlx::core::argpartition</a> (const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&a, int kth, <aclass="el"href="namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58">StreamOrDevice</a> s={})</td></tr>
<trclass="memdesc:gaf301c49c10fa9b95a9e8dc52ead1a8dd"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns indices that partition the flattened array such that the smaller kth elements are first. <br/></td></tr>
<trclass="memitem:ga7b15c654c7463def57857a0e239989a3"id="r_ga7b15c654c7463def57857a0e239989a3"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__ops.html#ga7b15c654c7463def57857a0e239989a3">mlx::core::argpartition</a> (const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&a, int kth, int axis, <aclass="el"href="namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58">StreamOrDevice</a> s={})</td></tr>
<trclass="memdesc:ga7b15c654c7463def57857a0e239989a3"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns indices that partition the array along a given axis such that the smaller kth elements are first. <br/></td></tr>
<trclass="memitem:ga5487dd887c43e5341f3e68ffe47f0f5a"id="r_ga5487dd887c43e5341f3e68ffe47f0f5a"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__ops.html#ga5487dd887c43e5341f3e68ffe47f0f5a">mlx::core::topk</a> (const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&a, int k, <aclass="el"href="namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58">StreamOrDevice</a> s={})</td></tr>
<trclass="memdesc:ga5487dd887c43e5341f3e68ffe47f0f5a"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns topk elements of the flattened array. <br/></td></tr>
<trclass="memitem:ga35b8436c79ff953f6c809598b646f498"id="r_ga35b8436c79ff953f6c809598b646f498"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__ops.html#ga35b8436c79ff953f6c809598b646f498">mlx::core::topk</a> (const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&a, int k, int axis, <aclass="el"href="namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58">StreamOrDevice</a> s={})</td></tr>
<trclass="memdesc:ga35b8436c79ff953f6c809598b646f498"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns topk elements of the array along a given axis. <br/></td></tr>
<trclass="memdesc:gacff4eb57c085d571e722083680267ac5"><tdclass="mdescLeft"> </td><tdclass="mdescRight">The logsumexp of all elements of the array. <br/></td></tr>
<trclass="memdesc:gae3969c7bd24c4f3ab97831df28239689"><tdclass="mdescLeft"> </td><tdclass="mdescRight">The logsumexp of the elements of an array along the given axes. <br/></td></tr>
<trclass="memitem:gafef5cb2159c16a60a95470cc823bdd44"id="r_gafef5cb2159c16a60a95470cc823bdd44"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__ops.html#gafef5cb2159c16a60a95470cc823bdd44">mlx::core::logsumexp</a> (const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&a, int axis, bool keepdims=false, <aclass="el"href="namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58">StreamOrDevice</a> s={})</td></tr>
<trclass="memdesc:gafef5cb2159c16a60a95470cc823bdd44"><tdclass="mdescLeft"> </td><tdclass="mdescRight">The logsumexp of the elements of an array along the given axis. <br/></td></tr>
<trclass="memdesc:ga5528e80f5e8bad71e106a0cf9edd8920"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Absolute value of elements in an array. <br/></td></tr>
<trclass="memdesc:ga20f1a1a8c0cd6206485f9363f3915faa"><tdclass="mdescLeft"> </td><tdclass="mdescRight">The sign of the elements in an array. <br/></td></tr>
<trclass="memdesc:ga4d29556bb93e2f66916116cf1f062b36"><tdclass="mdescLeft"> </td><tdclass="mdescRight">The reciprocal (1/x) of the elements in an array. <br/></td></tr>
<trclass="memdesc:ga2d32d67cfd76785a72c43d89b94dc7d7"><tdclass="mdescLeft"> </td><tdclass="mdescRight"><aclass="el"href="classmlx_1_1core_1_1_add.html">Add</a> two arrays. <br/></td></tr>
<trclass="memitem:ga7d0ec8d01e7cefa6a6b25f11876761b5"><tdclass="memTemplItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memTemplItemRight"valign="bottom"><aclass="el"href="group__ops.html#ga7d0ec8d01e7cefa6a6b25f11876761b5">mlx::core::operator+</a> (T a, const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&b)</td></tr>
<trclass="memitem:ga7cc080a4f9d4a667f2099aa0dbfefadd"><tdclass="memTemplItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memTemplItemRight"valign="bottom"><aclass="el"href="group__ops.html#ga7cc080a4f9d4a667f2099aa0dbfefadd">mlx::core::operator+</a> (const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&a, T b)</td></tr>
<trclass="memdesc:ga196c240d3d0fcbb4713802c485e15133"><tdclass="mdescLeft"> </td><tdclass="mdescRight"><aclass="el"href="classmlx_1_1core_1_1_subtract.html">Subtract</a> two arrays. <br/></td></tr>
<trclass="memitem:gae68d3d0691ba951501218e98439f3465"><tdclass="memTemplItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memTemplItemRight"valign="bottom"><aclass="el"href="group__ops.html#gae68d3d0691ba951501218e98439f3465">mlx::core::operator-</a> (T a, const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&b)</td></tr>
<trclass="memitem:gaf5e5d882c51ad0a0ea315c274d5439b2"><tdclass="memTemplItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memTemplItemRight"valign="bottom"><aclass="el"href="group__ops.html#gaf5e5d882c51ad0a0ea315c274d5439b2">mlx::core::operator-</a> (const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&a, T b)</td></tr>
<trclass="memdesc:gaf57392e641640b5d06e4c99518391c38"><tdclass="mdescLeft"> </td><tdclass="mdescRight"><aclass="el"href="classmlx_1_1core_1_1_multiply.html">Multiply</a> two arrays. <br/></td></tr>
<trclass="memitem:gac22a67f7de797b1ae59029843cbdcab6"><tdclass="memTemplItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memTemplItemRight"valign="bottom"><aclass="el"href="group__ops.html#gac22a67f7de797b1ae59029843cbdcab6">mlx::core::operator*</a> (T a, const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&b)</td></tr>
<trclass="memitem:ga6f2369ed5fae8ff9b1528670a004dde2"><tdclass="memTemplItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memTemplItemRight"valign="bottom"><aclass="el"href="group__ops.html#ga6f2369ed5fae8ff9b1528670a004dde2">mlx::core::operator*</a> (const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&a, T b)</td></tr>
<trclass="memdesc:ga77472dd06cfa7a30a42e4fd927bd859f"><tdclass="mdescLeft"> </td><tdclass="mdescRight"><aclass="el"href="classmlx_1_1core_1_1_divide.html">Divide</a> two arrays. <br/></td></tr>
<trclass="memitem:ga7366ec7f453be2a4dc449f0faa1bf554"id="r_ga7366ec7f453be2a4dc449f0faa1bf554"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__ops.html#ga7366ec7f453be2a4dc449f0faa1bf554">mlx::core::operator/</a> (double a, const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&b)</td></tr>
<trclass="memdesc:gaa30ebc0a8376dbc3f7e46a47052b5894"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Compute the element-wise quotient and remainder. <br/></td></tr>
<trclass="memdesc:ga99f5c904f724156a814d7817188351d2"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Compute the element-wise remainder of division. <br/></td></tr>
<trclass="memitem:ga50817666f0b82afcbf4a123486af9908"><tdclass="memTemplItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memTemplItemRight"valign="bottom"><aclass="el"href="group__ops.html#ga50817666f0b82afcbf4a123486af9908">mlx::core::operator%</a> (T a, const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&b)</td></tr>
<trclass="memitem:ga46c01daa07433542a477d216e13a8480"><tdclass="memTemplItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memTemplItemRight"valign="bottom"><aclass="el"href="group__ops.html#ga46c01daa07433542a477d216e13a8480">mlx::core::operator%</a> (const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&a, T b)</td></tr>
<trclass="memdesc:ga7ade2ea305e2e4219c3609443fb5db8d"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Element-wise maximum between two arrays. <br/></td></tr>
<trclass="memdesc:ga49ba00c090f81f331c91b0c97040bce0"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Element-wise minimum between two arrays. <br/></td></tr>
<trclass="memdesc:ga8d656904aa2690b60955ae745aecfc30"><tdclass="mdescLeft"> </td><tdclass="mdescRight"><aclass="el"href="classmlx_1_1core_1_1_floor.html">Floor</a> the element of an array. <br/></td></tr>
<trclass="memdesc:ga1404ecceff83fd9b9139b7520f55e096"><tdclass="mdescLeft"> </td><tdclass="mdescRight"><aclass="el"href="classmlx_1_1core_1_1_ceil.html">Ceil</a> the element of an array. <br/></td></tr>
<trclass="memdesc:ga1234e4c39cfa79f19d4bdb5b8ea4d45e"><tdclass="mdescLeft"> </td><tdclass="mdescRight"><aclass="el"href="classmlx_1_1core_1_1_square.html">Square</a> the elements of an array. <br/></td></tr>
<trclass="memdesc:ga8a3b04e23e347d99ecf411fd6f4e5125"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Exponential of the elements of an array. <br/></td></tr>
<trclass="memdesc:gaebf0a73ad3732fba39df37826c235692"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Sine of the elements of an array. <br/></td></tr>
<trclass="memdesc:ga39dfdf72b556012aa35ff27a94116e74"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Cosine of the elements of an array. <br/></td></tr>
<trclass="memdesc:ga3f10e89a4bcb1a8fa44fb33b8d1176a5"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Tangent of the elements of an array. <br/></td></tr>
<trclass="memdesc:ga8770e8c8f23f13343911f4c9d6e1c619"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Arc Sine of the elements of an array. <br/></td></tr>
<trclass="memdesc:ga08bec7cb10c84466487b507fc5bf9776"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Arc Cosine of the elements of an array. <br/></td></tr>
<trclass="memdesc:gaa041f3f070e68f4946db07516b7d092e"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Arc Tangent of the elements of an array. <br/></td></tr>
<trclass="memdesc:ga6caba9c92b5989123501f909cc7da354"><tdclass="mdescLeft"> </td><tdclass="mdescRight"><aclass="el"href="classmlx_1_1core_1_1_inverse.html">Inverse</a> tangent of the ratio of two arrays. <br/></td></tr>
<trclass="memdesc:gaf532375c6563dbd6e329bdedf0224dd7"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Hyperbolic Sine of the elements of an array. <br/></td></tr>
<trclass="memdesc:ga2181b71cda88007a3092be4795ff0715"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Hyperbolic Cosine of the elements of an array. <br/></td></tr>
<trclass="memdesc:ga5efb19aa0dfa42d8a3d5e1dfd569cd6d"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Hyperbolic Tangent of the elements of an array. <br/></td></tr>
<trclass="memdesc:gac62e2cedc49ef2c90dd8584000317450"><tdclass="mdescLeft"> </td><tdclass="mdescRight"><aclass="el"href="classmlx_1_1core_1_1_inverse.html">Inverse</a> Hyperbolic Sine of the elements of an array. <br/></td></tr>
<trclass="memdesc:gaafafcfcebdf7248679c8543d0c0497e5"><tdclass="mdescLeft"> </td><tdclass="mdescRight"><aclass="el"href="classmlx_1_1core_1_1_inverse.html">Inverse</a> Hyperbolic Cosine of the elements of an array. <br/></td></tr>
<trclass="memdesc:gab46a35925a04c5a9d2ec7898ee55358e"><tdclass="mdescLeft"> </td><tdclass="mdescRight"><aclass="el"href="classmlx_1_1core_1_1_inverse.html">Inverse</a> Hyperbolic Tangent of the elements of an array. <br/></td></tr>
<trclass="memdesc:ga3a70569b50e1083c5ded199d73fb960c"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Convert the elements of an array from Radians to Degrees. <br/></td></tr>
<trclass="memdesc:ga07aa8059adba5b9a8818027b8aafd31e"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Convert the elements of an array from Degrees to Radians. <br/></td></tr>
<trclass="memdesc:ga6fb22d4926133573e430fcc92f4eef31"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Natural logarithm of the elements of an array. <br/></td></tr>
<trclass="memdesc:ga144228d7222d15af3a135b8b0f3fa21b"><tdclass="mdescLeft"> </td><tdclass="mdescRight"><aclass="el"href="classmlx_1_1core_1_1_log.html">Log</a> base 2 of the elements of an array. <br/></td></tr>
<trclass="memdesc:ga1fdcc7fc8819caf2e6f1c327ed4e9b9e"><tdclass="mdescLeft"> </td><tdclass="mdescRight"><aclass="el"href="classmlx_1_1core_1_1_log.html">Log</a> base 10 of the elements of an array. <br/></td></tr>
<trclass="memdesc:ga20a1f4270c35b0fa544f5105a87a1604"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Natural logarithm of one plus elements in the array: <code>log(1 + a)</code>. <br/></td></tr>
<trclass="memdesc:gaf985df6609c6bd75a14a844655d89eaa"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Log-add-exp of one elements in the array: <code>log(exp(a) + exp(b))</code>. <br/></td></tr>
<trclass="memdesc:ga292a335240fd5d6d625fb7a340ff5eb0"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Computes the error function of the elements of an array. <br/></td></tr>
<trclass="memdesc:ga76fb9062c64264e34d2e07013390557c"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Computes the inverse error function of the elements of an array. <br/></td></tr>
<trclass="memdesc:ga54ca54f06bfb2be15b163a5209e2a0f0"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Computes the expm1 function of the elements of an array. <br/></td></tr>
<trclass="memdesc:ga36bc28f1deb2fe668ca9ae1e447b6b1f"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Stop the flow of gradients. <br/></td></tr>
<trclass="memitem:ga2d74d43f007a069384e89d8416525331"id="r_ga2d74d43f007a069384e89d8416525331"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__ops.html#ga2d74d43f007a069384e89d8416525331">mlx::core::round</a> (const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&a, int decimals, <aclass="el"href="namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58">StreamOrDevice</a> s={})</td></tr>
<trclass="memdesc:ga2d74d43f007a069384e89d8416525331"><tdclass="mdescLeft"> </td><tdclass="mdescRight"><aclass="el"href="classmlx_1_1core_1_1_round.html">Round</a> a floating point number. <br/></td></tr>
<trclass="memdesc:ga8fcc3ad0677c834c36b72d5b2ebba6d0"><tdclass="mdescLeft"> </td><tdclass="mdescRight"><aclass="el"href="classmlx_1_1core_1_1_gather.html">Gather</a> array entries given indices and slices. <br/></td></tr>
<trclass="memdesc:ga6df16248cb68bc73644cdb1698967c19"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Compute the Kronecker product of two arrays. <br/></td></tr>
<trclass="memitem:gac2fc270882fcfa81eb8bd068cc0d86d7"id="r_gac2fc270882fcfa81eb8bd068cc0d86d7"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__ops.html#gac2fc270882fcfa81eb8bd068cc0d86d7">mlx::core::take</a> (const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&a, const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&indices, int axis, <aclass="el"href="namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58">StreamOrDevice</a> s={})</td></tr>
<trclass="memdesc:gac2fc270882fcfa81eb8bd068cc0d86d7"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Take array slices at the given indices of the specified axis. <br/></td></tr>
<trclass="memitem:ga731af77b7de547a73336f91c829c40b4"id="r_ga731af77b7de547a73336f91c829c40b4"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__ops.html#ga731af77b7de547a73336f91c829c40b4">mlx::core::take</a> (const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&a, int index, int axis, <aclass="el"href="namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58">StreamOrDevice</a> s={})</td></tr>
<trclass="memdesc:ga45d0f423a5e030440ef753f36c5aabf1"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Take array entries at the given indices treating the array as flattened. <br/></td></tr>
<trclass="memitem:gae0a81d4f983e296a87302e36d65bfc76"id="r_gae0a81d4f983e296a87302e36d65bfc76"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__ops.html#gae0a81d4f983e296a87302e36d65bfc76">mlx::core::take_along_axis</a> (const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&a, const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&indices, int axis, <aclass="el"href="namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58">StreamOrDevice</a> s={})</td></tr>
<trclass="memdesc:gae0a81d4f983e296a87302e36d65bfc76"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Take array entries given indices along the axis. <br/></td></tr>
<trclass="memdesc:ga8e0caebf43cd65bd40e4ce97922cd06b"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Put the values into the array at the given indices along the axis. <br/></td></tr>
<trclass="memdesc:gab3fd98c0d06b84b836f93bddbd7a2a0d"><tdclass="mdescLeft"> </td><tdclass="mdescRight"><aclass="el"href="classmlx_1_1core_1_1_add.html">Add</a> the values into the array at the given indices along the axis. <br/></td></tr>
<trclass="memdesc:gad438be8f90bae9d37c6853b8f4225d61"><tdclass="mdescLeft"> </td><tdclass="mdescRight"><aclass="el"href="classmlx_1_1core_1_1_scatter.html">Scatter</a> updates to the given indices. <br/></td></tr>
<trclass="memdesc:gacd14c2b5cfebf343fc2d672722f8d174"><tdclass="mdescLeft"> </td><tdclass="mdescRight"><aclass="el"href="classmlx_1_1core_1_1_scatter.html">Scatter</a> and add updates to given indices. <br/></td></tr>
<trclass="memdesc:ga3708b5bcb61e2c63d213c4ce6ad0ffc0"><tdclass="mdescLeft"> </td><tdclass="mdescRight"><aclass="el"href="classmlx_1_1core_1_1_scatter.html">Scatter</a> and prod updates to given indices. <br/></td></tr>
<trclass="memdesc:ga05881a4157cd113c9392d168a79e6673"><tdclass="mdescLeft"> </td><tdclass="mdescRight"><aclass="el"href="classmlx_1_1core_1_1_scatter.html">Scatter</a> and max updates to given linear indices. <br/></td></tr>
<trclass="memdesc:ga0ca16b7579dfc899f3f7fd40245ba7c5"><tdclass="mdescLeft"> </td><tdclass="mdescRight"><aclass="el"href="classmlx_1_1core_1_1_scatter.html">Scatter</a> and min updates to given linear indices. <br/></td></tr>
<trclass="memdesc:ga297f853b3d90ec8ae81263977ba2ddb1"><tdclass="mdescLeft"> </td><tdclass="mdescRight"><aclass="el"href="classmlx_1_1core_1_1_square.html">Square</a> root the elements of an array. <br/></td></tr>
<trclass="memdesc:ga102f23aa0b0c3d3296a321c694617aa1"><tdclass="mdescLeft"> </td><tdclass="mdescRight"><aclass="el"href="classmlx_1_1core_1_1_square.html">Square</a> root and reciprocal the elements of an array. <br/></td></tr>
<trclass="memdesc:ga7e9bb08b43c8fd0444b7d3c9e09dc1c6"><tdclass="mdescLeft"> </td><tdclass="mdescRight"><aclass="el"href="classmlx_1_1core_1_1_softmax.html">Softmax</a> of an array. <br/></td></tr>
<trclass="memdesc:ga1ae3614d07d873892a530d14c3857d0b"><tdclass="mdescLeft"> </td><tdclass="mdescRight"><aclass="el"href="classmlx_1_1core_1_1_softmax.html">Softmax</a> of an array. <br/></td></tr>
<trclass="memitem:ga06f570d73716a24303e6de3aaba4457b"id="r_ga06f570d73716a24303e6de3aaba4457b"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__ops.html#ga06f570d73716a24303e6de3aaba4457b">mlx::core::softmax</a> (const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&a, int axis, bool precise=false, <aclass="el"href="namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58">StreamOrDevice</a> s={})</td></tr>
<trclass="memdesc:ga06f570d73716a24303e6de3aaba4457b"><tdclass="mdescLeft"> </td><tdclass="mdescRight"><aclass="el"href="classmlx_1_1core_1_1_softmax.html">Softmax</a> of an array. <br/></td></tr>
<trclass="memdesc:ga7972058715c26559dff9c9ae2a3ef76d"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Raise elements of a to the power of b element-wise. <br/></td></tr>
<trclass="memdesc:gaddc825a5c173e195ab0fda83ad630420"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Cumulative sum of an array. <br/></td></tr>
<trclass="memdesc:ga0d71dfbc14ef3ed564b0c5ee26af680f"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Cumulative product of an array. <br/></td></tr>
<trclass="memdesc:gaee37cac8476e8f8d666bcded5bc59143"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Cumulative max of an array. <br/></td></tr>
<trclass="memdesc:ga19c1bf6929fe8d66b9cd408946aea6a8"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Cumulative min of an array. <br/></td></tr>
<trclass="memitem:ga2236e5dfc7e52e28abf6c21675d0a51e"id="r_ga2236e5dfc7e52e28abf6c21675d0a51e"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__ops.html#ga2236e5dfc7e52e28abf6c21675d0a51e">mlx::core::conv_general</a> (<aclass="el"href="classmlx_1_1core_1_1array.html">array</a> input, <aclass="el"href="classmlx_1_1core_1_1array.html">array</a> weight, std::vector< int > stride={}, std::vector< int > padding_lo={}, std::vector< int > padding_hi={}, std::vector< int > kernel_dilation={}, std::vector< int > input_dilation={}, int groups=1, bool flip=false, <aclass="el"href="namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58">StreamOrDevice</a> s={})</td></tr>
<trclass="memdesc:ga2236e5dfc7e52e28abf6c21675d0a51e"><tdclass="mdescLeft"> </td><tdclass="mdescRight">General convolution with a filter. <br/></td></tr>
<trclass="memitem:gab59f89942cd1efaadffe9e8762e3c99d"id="r_gab59f89942cd1efaadffe9e8762e3c99d"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__ops.html#gab59f89942cd1efaadffe9e8762e3c99d">mlx::core::conv_general</a> (const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&input, const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&weight, std::vector< int > stride={}, std::vector< int > padding={}, std::vector< int > kernel_dilation={}, std::vector< int > input_dilation={}, int groups=1, bool flip=false, <aclass="el"href="namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58">StreamOrDevice</a> s={})</td></tr>
<trclass="memdesc:gab59f89942cd1efaadffe9e8762e3c99d"><tdclass="mdescLeft"> </td><tdclass="mdescRight">General convolution with a filter. <br/></td></tr>
<trclass="memitem:ga30d47e08093c03a3676f235f9f559411"id="r_ga30d47e08093c03a3676f235f9f559411"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__ops.html#ga30d47e08093c03a3676f235f9f559411">mlx::core::conv1d</a> (const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&input, const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&weight, int stride=1, int padding=0, int dilation=1, int groups=1, <aclass="el"href="namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58">StreamOrDevice</a> s={})</td></tr>
<trclass="memdesc:ga30d47e08093c03a3676f235f9f559411"><tdclass="mdescLeft"> </td><tdclass="mdescRight">1D convolution with a filter <br/></td></tr>
<trclass="memitem:ga73b02833229678786e7f302d458d5a83"id="r_ga73b02833229678786e7f302d458d5a83"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__ops.html#ga73b02833229678786e7f302d458d5a83">mlx::core::conv2d</a> (const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&input, const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&weight, const std::pair< int, int >&stride={1, 1}, const std::pair< int, int >&padding={0, 0}, const std::pair< int, int >&dilation={1, 1}, int groups=1, <aclass="el"href="namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58">StreamOrDevice</a> s={})</td></tr>
<trclass="memdesc:ga73b02833229678786e7f302d458d5a83"><tdclass="mdescLeft"> </td><tdclass="mdescRight">2D convolution with a filter <br/></td></tr>
<trclass="memitem:ga6e9907d2f14dc4803e4306b3dbc4b3ca"id="r_ga6e9907d2f14dc4803e4306b3dbc4b3ca"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__ops.html#ga6e9907d2f14dc4803e4306b3dbc4b3ca">mlx::core::conv3d</a> (const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&input, const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&weight, const std::tuple< int, int, int >&stride={1, 1, 1}, const std::tuple< int, int, int >&padding={0, 0, 0}, const std::tuple< int, int, int >&dilation={1, 1, 1}, int groups=1, <aclass="el"href="namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58">StreamOrDevice</a> s={})</td></tr>
<trclass="memdesc:ga6e9907d2f14dc4803e4306b3dbc4b3ca"><tdclass="mdescLeft"> </td><tdclass="mdescRight">3D convolution with a filter <br/></td></tr>
<trclass="memitem:gaa30bf1adcd78d1c2595d07b215731714"id="r_gaa30bf1adcd78d1c2595d07b215731714"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__ops.html#gaa30bf1adcd78d1c2595d07b215731714">mlx::core::conv_transpose1d</a> (const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&input, const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&weight, int stride=1, int padding=0, int dilation=1, int groups=1, <aclass="el"href="namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58">StreamOrDevice</a> s={})</td></tr>
<trclass="memdesc:gaa30bf1adcd78d1c2595d07b215731714"><tdclass="mdescLeft"> </td><tdclass="mdescRight">1D transposed convolution with a filter <br/></td></tr>
<trclass="memitem:gaebb59971cb9bc45005dc1d398e4f0a3d"id="r_gaebb59971cb9bc45005dc1d398e4f0a3d"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__ops.html#gaebb59971cb9bc45005dc1d398e4f0a3d">mlx::core::conv_transpose2d</a> (const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&input, const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&weight, const std::pair< int, int >&stride={1, 1}, const std::pair< int, int >&padding={0, 0}, const std::pair< int, int >&dilation={1, 1}, int groups=1, <aclass="el"href="namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58">StreamOrDevice</a> s={})</td></tr>
<trclass="memdesc:gaebb59971cb9bc45005dc1d398e4f0a3d"><tdclass="mdescLeft"> </td><tdclass="mdescRight">2D transposed convolution with a filter <br/></td></tr>
<trclass="memitem:ga8db814da631d9cd32a8d6563bf4ac530"id="r_ga8db814da631d9cd32a8d6563bf4ac530"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__ops.html#ga8db814da631d9cd32a8d6563bf4ac530">mlx::core::conv_transpose3d</a> (const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&input, const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&weight, const std::tuple< int, int, int >&stride={1, 1, 1}, const std::tuple< int, int, int >&padding={0, 0, 0}, const std::tuple< int, int, int >&dilation={1, 1, 1}, int groups=1, <aclass="el"href="namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58">StreamOrDevice</a> s={})</td></tr>
<trclass="memdesc:ga8db814da631d9cd32a8d6563bf4ac530"><tdclass="mdescLeft"> </td><tdclass="mdescRight">3D transposed convolution with a filter <br/></td></tr>
<trclass="memitem:gabfa4208fb1f9b1cdd0abc563b19175af"id="r_gabfa4208fb1f9b1cdd0abc563b19175af"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__ops.html#gabfa4208fb1f9b1cdd0abc563b19175af">mlx::core::quantized_matmul</a> (<aclass="el"href="classmlx_1_1core_1_1array.html">array</a> x, <aclass="el"href="classmlx_1_1core_1_1array.html">array</a> w, <aclass="el"href="classmlx_1_1core_1_1array.html">array</a> scales, <aclass="el"href="classmlx_1_1core_1_1array.html">array</a> biases, bool <aclass="el"href="group__ops.html#gac1869f3b7094869b44fe7ac4ce58638b">transpose</a>=true, int group_size=64, int bits=4, <aclass="el"href="namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58">StreamOrDevice</a> s={})</td></tr>
<trclass="memdesc:gabfa4208fb1f9b1cdd0abc563b19175af"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Quantized matmul multiplies x with a quantized matrix w. <br/></td></tr>
<trclass="memitem:gab43cc28690da7cdd43b43065adbd31da"id="r_gab43cc28690da7cdd43b43065adbd31da"><tdclass="memItemLeft"align="right"valign="top">std::tuple<<aclass="el"href="classmlx_1_1core_1_1array.html">array</a>, <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>, <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__ops.html#gab43cc28690da7cdd43b43065adbd31da">mlx::core::quantize</a> (const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&w, int group_size=64, int bits=4, <aclass="el"href="namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58">StreamOrDevice</a> s={})</td></tr>
<trclass="memdesc:gab43cc28690da7cdd43b43065adbd31da"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Quantize a matrix along its last axis. <br/></td></tr>
<trclass="memitem:gabff758a5c1ce32ad7e8b78aba0164077"id="r_gabff758a5c1ce32ad7e8b78aba0164077"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__ops.html#gabff758a5c1ce32ad7e8b78aba0164077">mlx::core::dequantize</a> (const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&w, const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&scales, const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&biases, int group_size=64, int bits=4, <aclass="el"href="namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58">StreamOrDevice</a> s={})</td></tr>
<trclass="memdesc:gabff758a5c1ce32ad7e8b78aba0164077"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Dequantize a matrix produced by <aclass="el"href="group__ops.html#gab43cc28690da7cdd43b43065adbd31da"title="Quantize a matrix along its last axis.">quantize()</a><br/></td></tr>
<trclass="memitem:gaf5c9735f4690327e1500e04e728fae70"id="r_gaf5c9735f4690327e1500e04e728fae70"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__ops.html#gaf5c9735f4690327e1500e04e728fae70">mlx::core::tensordot</a> (const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&a, const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&b, const int axis=2, <aclass="el"href="namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58">StreamOrDevice</a> s={})</td></tr>
<trclass="memdesc:gaf5c9735f4690327e1500e04e728fae70"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns a contraction of a and b over multiple dimensions. <br/></td></tr>
<trclass="memdesc:ga866af24e10db2797e1c5a5986dbf6c0d"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Compute the outer product of two vectors. <br/></td></tr>
<trclass="memdesc:ga654fec16a9746b390916697a2ab2546e"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Compute the inner product of two vectors. <br/></td></tr>
<trclass="memdesc:ga82a53e083205a965387b3c3e2463244a"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Compute D = beta * C + alpha * (A @ B) <br/></td></tr>
<trclass="memitem:ga9236b085a88ead3128ed8079d009cac6"id="r_ga9236b085a88ead3128ed8079d009cac6"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__ops.html#ga9236b085a88ead3128ed8079d009cac6">mlx::core::diagonal</a> (const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&a, int offset=0, int axis1=0, int axis2=1, <aclass="el"href="namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58">StreamOrDevice</a> s={})</td></tr>
<trclass="memdesc:ga9236b085a88ead3128ed8079d009cac6"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Extract a diagonal or construct a diagonal array. <br/></td></tr>
<trclass="memitem:ga11af511875640e1fa88e0ca87e199344"id="r_ga11af511875640e1fa88e0ca87e199344"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__ops.html#ga11af511875640e1fa88e0ca87e199344">mlx::core::diag</a> (const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&a, int k=0, <aclass="el"href="namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58">StreamOrDevice</a> s={})</td></tr>
<trclass="memdesc:ga11af511875640e1fa88e0ca87e199344"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Extract diagonal from a 2d array or create a diagonal matrix. <br/></td></tr>
<trclass="memitem:gabf786129c7660ed8d5acb5499bc6fefd"id="r_gabf786129c7660ed8d5acb5499bc6fefd"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__ops.html#gabf786129c7660ed8d5acb5499bc6fefd">mlx::core::trace</a> (const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&a, int offset, int axis1, int axis2, <aclass="el"href="structmlx_1_1core_1_1_dtype.html">Dtype</a> dtype, <aclass="el"href="namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58">StreamOrDevice</a> s={})</td></tr>
<trclass="memdesc:gabf786129c7660ed8d5acb5499bc6fefd"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Return the sum along a specified diagonal in the given array. <br/></td></tr>
<trclass="memitem:ga5ed43c2dbf7d6cbddbaa2fd682deaafd"id="r_ga5ed43c2dbf7d6cbddbaa2fd682deaafd"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__ops.html#ga5ed43c2dbf7d6cbddbaa2fd682deaafd">mlx::core::trace</a> (const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&a, int offset, int axis1, int axis2, <aclass="el"href="namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58">StreamOrDevice</a> s={})</td></tr>
<trclass="memdesc:gac4a51a68fbe1725436b026d2fbb95759"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Implements the identity function but allows injecting dependencies to other arrays. <br/></td></tr>
<trclass="memdesc:gaba4d25e7a2bf87ba4feb7837ec7fa396"><tdclass="mdescLeft"> </td><tdclass="mdescRight">convert an array to an atleast ndim array <br/></td></tr>
<trclass="memdesc:ga6d5f5f72362488b956cdc4615ef6c636"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Extract the number of elements along some axes as a scalar array. <br/></td></tr>
<trclass="memitem:gac40e48c69f9c715a767912c30836e75c"id="r_gac40e48c69f9c715a767912c30836e75c"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__ops.html#gac40e48c69f9c715a767912c30836e75c">mlx::core::roll</a> (const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&a, int shift, <aclass="el"href="namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58">StreamOrDevice</a> s={})</td></tr>
<trclass="memdesc:gac40e48c69f9c715a767912c30836e75c"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Roll elements along an axis and introduce them on the other side. <br/></td></tr>
<trclass="memitem:ga8694ec137165752cb6d8a36a6b7c3436"id="r_ga8694ec137165752cb6d8a36a6b7c3436"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="classmlx_1_1core_1_1array.html">array</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__ops.html#ga8694ec137165752cb6d8a36a6b7c3436">mlx::core::roll</a> (const <aclass="el"href="classmlx_1_1core_1_1array.html">array</a>&a, int shift, int axis, <aclass="el"href="namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58">StreamOrDevice</a> s={})</td></tr>
<liclass="footer">Generated by <ahref="https://www.doxygen.org/index.html"><imgclass="footer"src="doxygen.svg"width="104"height="31"alt="doxygen"/></a> 1.13.2 </li>