2023-02-12 19:17:06 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
|
|
|
<class name="MLPPVector" inherits="Reference" version="3.11">
|
|
|
|
<brief_description>
|
|
|
|
</brief_description>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
<tutorials>
|
|
|
|
</tutorials>
|
|
|
|
<methods>
|
2023-04-25 20:32:54 +02:00
|
|
|
<method name="abs">
|
|
|
|
<return type="void" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="absb">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="a" type="MLPPVector" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="absn" qualifiers="const">
|
|
|
|
<return type="MLPPVector" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="add">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="b" type="MLPPVector" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2023-04-29 14:37:58 +02:00
|
|
|
<method name="append_mlpp_vector">
|
2023-02-12 19:17:06 +01:00
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="other" type="float" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2023-04-25 20:32:54 +02:00
|
|
|
<method name="addb">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="a" type="MLPPVector" />
|
|
|
|
<argument index="1" name="b" type="MLPPVector" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="addn" qualifiers="const">
|
|
|
|
<return type="MLPPVector" />
|
|
|
|
<argument index="0" name="b" type="MLPPVector" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="cbrt">
|
|
|
|
<return type="void" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="cbrtb">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="a" type="MLPPVector" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="cbrtn" qualifiers="const">
|
|
|
|
<return type="MLPPVector" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2023-02-12 19:17:06 +01:00
|
|
|
<method name="clear">
|
|
|
|
<return type="void" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2023-04-25 20:32:54 +02:00
|
|
|
<method name="cos">
|
|
|
|
<return type="void" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="cosb">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="a" type="MLPPVector" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="cosn" qualifiers="const">
|
|
|
|
<return type="MLPPVector" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="diagnm" qualifiers="const">
|
|
|
|
<return type="MLPPMatrix" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="dot" qualifiers="const">
|
|
|
|
<return type="float" />
|
|
|
|
<argument index="0" name="b" type="MLPPVector" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2023-02-12 19:17:06 +01:00
|
|
|
<method name="duplicate" qualifiers="const">
|
|
|
|
<return type="MLPPVector" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2023-04-29 13:50:35 +02:00
|
|
|
<method name="division_element_wise">
|
2023-04-25 20:32:54 +02:00
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="b" type="MLPPVector" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2023-04-29 13:50:35 +02:00
|
|
|
<method name="division_element_wiseb">
|
2023-04-25 20:32:54 +02:00
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="a" type="MLPPVector" />
|
|
|
|
<argument index="1" name="b" type="MLPPVector" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2023-04-29 13:50:35 +02:00
|
|
|
<method name="division_element_wisen" qualifiers="const">
|
2023-04-25 20:32:54 +02:00
|
|
|
<return type="MLPPVector" />
|
|
|
|
<argument index="0" name="b" type="MLPPVector" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2023-02-12 19:17:06 +01:00
|
|
|
<method name="empty" qualifiers="const">
|
|
|
|
<return type="bool" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="erase">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="val" type="float" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="erase_multiple_unordered">
|
|
|
|
<return type="int" />
|
|
|
|
<argument index="0" name="val" type="float" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2023-04-25 20:32:54 +02:00
|
|
|
<method name="erf">
|
|
|
|
<return type="void" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="erfb">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="a" type="MLPPVector" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="erfn" qualifiers="const">
|
|
|
|
<return type="MLPPVector" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="euclidean_distance" qualifiers="const">
|
|
|
|
<return type="float" />
|
|
|
|
<argument index="0" name="b" type="MLPPVector" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="euclidean_distance_squared" qualifiers="const">
|
|
|
|
<return type="float" />
|
|
|
|
<argument index="0" name="b" type="MLPPVector" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="exp">
|
|
|
|
<return type="void" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="expb">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="a" type="MLPPVector" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="expn" qualifiers="const">
|
|
|
|
<return type="MLPPVector" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="exponentiate">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="p" type="float" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="exponentiateb">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="a" type="MLPPVector" />
|
|
|
|
<argument index="1" name="p" type="float" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="exponentiaten" qualifiers="const">
|
|
|
|
<return type="MLPPVector" />
|
|
|
|
<argument index="0" name="p" type="float" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2023-02-12 19:17:06 +01:00
|
|
|
<method name="fill">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="val" type="float" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="find" qualifiers="const">
|
|
|
|
<return type="int" />
|
|
|
|
<argument index="0" name="val" type="float" />
|
|
|
|
<argument index="1" name="from" type="int" default="0" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2023-04-25 20:32:54 +02:00
|
|
|
<method name="full_vec" qualifiers="const">
|
|
|
|
<return type="MLPPVector" />
|
|
|
|
<argument index="0" name="n" type="int" />
|
|
|
|
<argument index="1" name="k" type="int" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2023-04-29 13:44:18 +02:00
|
|
|
<method name="element_get" qualifiers="const">
|
2023-02-12 19:17:06 +01:00
|
|
|
<return type="float" />
|
|
|
|
<argument index="0" name="index" type="int" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2023-04-25 20:32:54 +02:00
|
|
|
<method name="hadamard_product">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="b" type="MLPPVector" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="hadamard_productb">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="a" type="MLPPVector" />
|
|
|
|
<argument index="1" name="b" type="MLPPVector" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="hadamard_productn" qualifiers="const">
|
|
|
|
<return type="MLPPVector" />
|
|
|
|
<argument index="0" name="b" type="MLPPVector" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2023-02-12 19:17:06 +01:00
|
|
|
<method name="insert">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="pos" type="int" />
|
|
|
|
<argument index="1" name="val" type="float" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="invert">
|
|
|
|
<return type="void" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="is_equal_approx" qualifiers="const">
|
|
|
|
<return type="bool" />
|
|
|
|
<argument index="0" name="with" type="MLPPVector" />
|
|
|
|
<argument index="1" name="tolerance" type="float" default="1e-05" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2023-04-25 20:32:54 +02:00
|
|
|
<method name="log">
|
|
|
|
<return type="void" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="log10">
|
|
|
|
<return type="void" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="log10b">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="a" type="MLPPVector" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="log10n" qualifiers="const">
|
|
|
|
<return type="MLPPVector" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="logb">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="a" type="MLPPVector" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="logn" qualifiers="const">
|
|
|
|
<return type="MLPPVector" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="max_element" qualifiers="const">
|
|
|
|
<return type="float" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="maxv">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="b" type="MLPPVector" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="maxvb">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="a" type="MLPPVector" />
|
|
|
|
<argument index="1" name="b" type="MLPPVector" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="maxvn" qualifiers="const">
|
|
|
|
<return type="MLPPVector" />
|
|
|
|
<argument index="0" name="b" type="MLPPVector" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="min_element" qualifiers="const">
|
|
|
|
<return type="float" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="norm_sq" qualifiers="const">
|
|
|
|
<return type="float" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="one_vec" qualifiers="const">
|
|
|
|
<return type="MLPPVector" />
|
|
|
|
<argument index="0" name="n" type="int" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2023-02-12 19:17:06 +01:00
|
|
|
<method name="ordered_insert">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="val" type="float" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2023-04-25 20:32:54 +02:00
|
|
|
<method name="outer_product" qualifiers="const">
|
|
|
|
<return type="MLPPMatrix" />
|
|
|
|
<argument index="0" name="b" type="MLPPVector" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2023-02-12 19:17:06 +01:00
|
|
|
<method name="push_back">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="elem" type="float" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="remove">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="index" type="float" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="remove_unordered">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="index" type="int" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="reset">
|
|
|
|
<return type="void" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="resize">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="size" type="int" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2023-04-25 20:32:54 +02:00
|
|
|
<method name="scalar_add">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="scalar" type="float" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="scalar_addb">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="scalar" type="float" />
|
|
|
|
<argument index="1" name="a" type="MLPPVector" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="scalar_addn" qualifiers="const">
|
|
|
|
<return type="MLPPVector" />
|
|
|
|
<argument index="0" name="scalar" type="float" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="scalar_multiply">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="scalar" type="float" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="scalar_multiplyb">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="scalar" type="float" />
|
|
|
|
<argument index="1" name="a" type="MLPPVector" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="scalar_multiplyn" qualifiers="const">
|
|
|
|
<return type="MLPPVector" />
|
|
|
|
<argument index="0" name="scalar" type="float" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2023-04-29 13:44:18 +02:00
|
|
|
<method name="element_set">
|
2023-02-12 19:17:06 +01:00
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="index" type="int" />
|
|
|
|
<argument index="1" name="val" type="float" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="set_from_mlpp_vector">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="from" type="MLPPVector" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="set_from_pool_vector">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="from" type="PoolRealArray" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2023-04-25 20:32:54 +02:00
|
|
|
<method name="sin">
|
|
|
|
<return type="void" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="sinb">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="a" type="MLPPVector" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="sinn" qualifiers="const">
|
|
|
|
<return type="MLPPVector" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2023-02-12 19:17:06 +01:00
|
|
|
<method name="size" qualifiers="const">
|
|
|
|
<return type="int" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="sort">
|
|
|
|
<return type="void" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2023-04-25 20:32:54 +02:00
|
|
|
<method name="sqrt">
|
|
|
|
<return type="void" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="sqrtb">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="a" type="MLPPVector" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="sqrtn" qualifiers="const">
|
|
|
|
<return type="MLPPVector" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="sub">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="b" type="MLPPVector" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="subb">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="a" type="MLPPVector" />
|
|
|
|
<argument index="1" name="b" type="MLPPVector" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="subn" qualifiers="const">
|
|
|
|
<return type="MLPPVector" />
|
|
|
|
<argument index="0" name="b" type="MLPPVector" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="subtract_matrix_rows">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="B" type="MLPPMatrix" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="subtract_matrix_rowsb">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="a" type="MLPPVector" />
|
|
|
|
<argument index="1" name="B" type="MLPPMatrix" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="subtract_matrix_rowsn" qualifiers="const">
|
|
|
|
<return type="MLPPVector" />
|
|
|
|
<argument index="0" name="B" type="MLPPMatrix" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="sum_elements" qualifiers="const">
|
|
|
|
<return type="float" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2023-02-12 19:17:06 +01:00
|
|
|
<method name="to_byte_array" qualifiers="const">
|
|
|
|
<return type="PoolByteArray" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="to_pool_vector" qualifiers="const">
|
|
|
|
<return type="PoolRealArray" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2023-04-25 20:32:54 +02:00
|
|
|
<method name="zero_vec" qualifiers="const">
|
|
|
|
<return type="MLPPVector" />
|
|
|
|
<argument index="0" name="n" type="int" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2023-02-12 19:17:06 +01:00
|
|
|
</methods>
|
|
|
|
<constants>
|
|
|
|
</constants>
|
|
|
|
</class>
|