Hello, I was using the Boost library and I wanted to call the l2_norm() method from "boost/math/tools/norms.hpp", but is says that the namespace boost::math::tools doesn't contain l2_norm() method. When I looked into it, I saw that the namespaces at the beginning of the file were written"boost::math::tools" instead of "namespace boost { namespace math { namespace tools {...". Can this be fixed? Have a nice day, Teodora Bogdan CONFIDENTIALITY NOTICE: This e-mail and any attachments hereto may contain information that is privileged or confidential, and is intended for use only by the individual or entity to which it is addressed. Any disclosure, copying or distribution of the information by anyone else is strictly prohibited. If you have received this document in error, please notify us promptly by responding to this e-mail. DISCLAIMER: General Magic accepts no liability for the content of this email, or for the consequences of any actions taken on the basis of the information provided, unless that information is subsequently confirmed in writing and duly signed on behalf of General Magic by an authorized officer. Any views or opinions presented in this email are solely those of the author and do not necessarily represent those of General Magic. No employee or agent is authorized to conclude any binding agreement on behalf of General Magic with another party by email without express written confirmation which is duly signed on behalf of General Magic by an authorized officer. Thank you.
On Tue, Oct 25, 2022 at 01:00, General Magic - Teodora Bogdan via Boost-users
Hello,
I was using the Boost library and I wanted to call the l2_norm() method from "boost/math/tools/norms.hpp", but is says that the namespace boost::math::tools doesn't contain l2_norm() method. When I looked into it, I saw that the namespaces at the beginning of the file were written"boost::math::tools" instead of "namespace boost { namespace math { namespace tools {...".
Can this be fixed?
Have a nice day, Teodora Bogdan
CONFIDENTIALITY NOTICE: This e-mail and any attachments hereto may contain information that is privileged or confidential, and is intended for use only by the individual or entity to which it is addressed. Any disclosure, copying or distribution of the information by anyone else is strictly prohibited. If you have received this document in error, please notify us promptly by responding to this e-mail. DISCLAIMER: General Magic accepts no liability for the content of this email, or for the consequences of any actions taken on the basis of the information provided, unless that information is subsequently confirmed in writing and duly signed on behalf of General Magic by an authorized officer. Any views or opinions presented in this email are solely those of the author and do not necessarily represent those of General Magic. No employee or agent is authorized to conclude any binding agreement on behalf of General Magic with another party by email without express written confirmation which is duly signed on behalf of General Magic by an authorized officer. Thank you.
Teodora, What language standard do you need this to work with? There are a number of features in Boost.Math that require C++17, but I can see if it’s straightforward to reduce to whatever standard you need. Matt
On 25/10/2022 09:00, General Magic - Teodora Bogdan via Boost-users wrote:
Hello,
I was using the Boost library and I wanted to call the l2_norm() method from "boost/math/tools/norms.hpp", but is says that the namespace boost::math::tools doesn't contain l2_norm() method. When I looked into it, I saw that the namespaces at the beginning of the file were written"boost::math::tools" instead of "namespace boost { namespace math { namespace tools {...".
They are the same thing from C++17 onward, and the norms.hpp header does require C++17 in it's implementation. This should all be documented, but I'll double check. John.
Thank you it is solved. Have a nice day, Teodora Bogdan On 25-Oct-22 19:50, John Maddock via Boost-users wrote:
On 25/10/2022 09:00, General Magic - Teodora Bogdan via Boost-users wrote:
Hello,
I was using the Boost library and I wanted to call the l2_norm() method from "boost/math/tools/norms.hpp", but is says that the namespace boost::math::tools doesn't contain l2_norm() method. When I looked into it, I saw that the namespaces at the beginning of the file were written"boost::math::tools" instead of "namespace boost { namespace math { namespace tools {...".
They are the same thing from C++17 onward, and the norms.hpp header does require C++17 in it's implementation.
This should all be documented, but I'll double check.
John. _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org https://lists.boost.org/mailman/listinfo.cgi/boost-users
CONFIDENTIALITY NOTICE: This e-mail and any attachments hereto may contain information that is privileged or confidential, and is intended for use only by the individual or entity to which it is addressed. Any disclosure, copying or distribution of the information by anyone else is strictly prohibited. If you have received this document in error, please notify us promptly by responding to this e-mail. DISCLAIMER: General Magic accepts no liability for the content of this email, or for the consequences of any actions taken on the basis of the information provided, unless that information is subsequently confirmed in writing and duly signed on behalf of General Magic by an authorized officer. Any views or opinions presented in this email are solely those of the author and do not necessarily represent those of General Magic. No employee or agent is authorized to conclude any binding agreement on behalf of General Magic with another party by email without express written confirmation which is duly signed on behalf of General Magic by an authorized officer. Thank you.
participants (3)
-
General Magic - Teodora Bogdan
-
John Maddock
-
Matt Borland