Python, C++, C, MATLAB, Shell
Spoken Languages:
English, Japanese
Statistics
RANK
96,548
of 300,331
REPUTATION
0
CONTRIBUTIONS
9 Questions
2 Answers
ANSWER ACCEPTANCE
100.0%
VOTES RECEIVED
3
RANK
of 20,920
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 168,124
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Dictionary to std::unordered_map in a mex file
You can parse a dictionary as input but must return a mxArray: // test.cpp #include "mex.h" #include <variant> #include <str...
3 months ago | 0
| accepted
Question
Dictionary to std::unordered_map in a mex file
I am using some c++ code with mex. I would like to pass in a dictionary of parameters, do some computation and create some vecto...
3 months ago | 1 answer | 0
1
answerQuestion
Modulo with expression not the same as modulo with value
Why does mod(1, Y-X) not approximately equal 0? mod(1, 0.1) X = 2; Y = 2.1; Y - X mod(1, Y - X) I realize that Y - X ~= 0....
3 months ago | 1 answer | 0
1
answerMerging multiple dictionaries with dictionaries
A = dictionary(dictionary(["key1"], {1}), dictionary(["key2"], {2})); A(dictionary(["key3"], {3})) = dictionary(["key4"], {4}) ...
3 months ago | 0
Question
Merging multiple dictionaries with dictionaries
Related to this question, how can one merge two dictionaries that have dictionaries as the keys and values? A = dictionary(dict...
3 months ago | 3 answers | 1
3
answersQuestion
Merging multiple dictionaries with cell arrays
How can one merge multiple dictionaries A and B with cell arrays to get C. Ideally, with some warning for clashes. A = dictiona...
5 months ago | 1 answer | 0
1
answerQuestion
Catch error with assertError in test case
I'd like to catch an error I am throwing with assertError in a test case. I tried doing a simple assertError, however, I get Too...
7 months ago | 1 answer | 0
1
answerQuestion
Non-linear scaling for linear increase in complexity
I have a class which defines an array and then loops over this array updating each element in turn. If I change the length of th...
7 months ago | 1 answer | 2
1
answerQuestion
Tiled layout with a nested graph spanning multiple tiles
I would like to nest/superimpose a plot on another, which is part of a tiledlayout and spans multiple tiles. The following works...
9 months ago | 1 answer | 0
1
answerQuestion
Distributed and spmd not running faster
I think I'm missing something fundamental about using distributed arrays with spmd. If I run the following the distributed versi...
9 months ago | 1 answer | 0
1
answerQuestion
Does gather() clear memory
I am running in to memory limits on my GPUs. I know I can reset(gpuDevice) to clear all memory on the device, however, I would l...
9 months ago | 2 answers | 0
