[digester] Pass a static value to a CallParam rule?

2021-02-16 Thread Christopher Schultz
All, I'd like to invoke a method on the current top-of-the-stack object and pass a static string value to it, like this: digester.push(new MyBean()); digester.addCallMethod("/Foo/Bar", "setAttribute", 2, new Class[] { String.class }); digester.addCallParam("/Foo/Bar", 0, "MyStaticString");

Re: [math] How to Convert 'RealMatrix' Object to Array

2021-02-16 Thread Oscar Bastidas
Awesome! Thank you so much for this. Oscar Oscar Bastidas, Ph.D. Postdoctoral Research Associate University of Minnesota On Tue, Feb 16, 2021, 5:25 AM Alex Herbert wrote: > The methods: > > double[][] getData(); > double[][] getDataRef(); > > Provide access to the underlying 2D

Re: [configuration2] Mismatch between getList doc and implementation

2021-02-16 Thread Roman Zaynetdinov
Hi Gary, I somehow didn't get your response in my email so responding to my own message instead. I have found the tests for this case here

Re: [math] How to Convert 'RealMatrix' Object to Array

2021-02-16 Thread Alex Herbert
The methods: double[][] getData(); double[][] getDataRef(); Provide access to the underlying 2D matrix as a copy or a direct reference. The method: double getEntry(int, int); Provides access to an element of the matrix. So you can do for example: Array2DRowRealMatrix m = ...;

[math] How to Convert 'RealMatrix' Object to Array

2021-02-16 Thread Oscar Bastidas
Hello, Would someone please tell me how I can go about converting a 'RealMatrix' object to an array? When I just print out the RealMatrix object I get something that looks like: Array2DRowRealMatrix{{123},{456},{789}} I would like to be able to selectively cycle through each number