Sender | Message | Time |
---|---|---|
1 Dec 2023 | ||
The best way I can think of is to separate the system in its matrices, assemble everything with a continuous instead of discrete delay and re-assign the input/output names. That's just very clunky for what should be a fairly simple operation. | 10:51:38 | |
can I even assign input and output names to delay systems? | 10:54:54 | |
If I could get an equivalent of setDelayModel from MATLAB, that would also suffice | 11:32:55 | |
8 Dec 2023 | ||
21:58:16 | ||
10 Dec 2023 | ||
is there an easy way to use use a negative sign in connections of the connect function of RobustAndOptimalControl ? | 19:29:37 | |
14 Dec 2023 | ||
13:36:58 | ||
26 Dec 2023 | ||
Is this room still alive or is this the widow of a libera.chat bridged room with all the action happening on the IRC side? | 08:52:15 | |
People still use IRC a lot? | 09:51:26 | |
¯\_(ツ)_/¯ | 09:52:46 | |
I noticed julialang.org mentions zulip, slack and discord, so this room is unofficial? | 09:53:22 | |
27 Dec 2023 | ||
it's not yet active enough to be official | 14:22:32 | |
Has anyone ever suggested to bridge the different channels? I know slack and discord can be bridged to matrix. Having multiple channels on multiple platforms seems quite inefficient. | 14:55:05 | |
28 Dec 2023 | ||
I know the Julia Slack can be strict about not archiving the messages on there in any way because they like the ephemeral disappearing messages, so they'd probably be against a bridge | 01:46:30 | |
Hi, I am trying to pass a type as an argument of a function, which create other function, using this type (to avoid type instability). But I get this error:
| 17:29:43 | |
* Hi, I am trying to pass a type as an argument of a function, which create other functions, using this type (to avoid type instability). But I get this error:
| 18:02:19 | |
| 18:03:41 | |
| 18:04:07 | |
*
| 18:04:33 | |
*
| 18:04:38 | |
In fact it is obvious it doesn’t work, given that MyType is given at runtime. But I suppose there is some other ways to avoid type instability in these kinds of cases. | 18:07:23 | |
* Hi, I am trying to pass a type as an argument to a function, which create other functions, using this type (to avoid type instability). But I get this error:
| 18:39:38 | |
If the type need only one function, then you can use
https://github.com/FluxML/Flux.jl/blob/df468ba0a10d86b660eebed98d1b484cbce113a7/src/layers/basic.jl#L170 If the type need two or more functions, define a new method with the type on the first argument. e.g. https://github.com/JuliaStats/Distributions.jl/blob/b2d765246e0f35473fe354dc578a3f7edf11958d/src/univariate/continuous/uniform.jl#L74 | 19:43:03 | |
* If the type need only one function, then you can use
https://github.com/FluxML/Flux.jl/blob/df468ba0a10d86b660eebed98d1b484cbce113a7/src/layers/basic.jl#L170 If the type need two or more functions, define a new method with the type on the first argument like | 19:51:01 | |
* If the type need only one function, then you can use function (v::MyType)(a::MyType, b::MyType) ... end https://github.com/FluxML/Flux.jl/blob/df468ba0a10d86b660eebed98d1b484cbce113a7/src/layers/basic.jl#L170 If the type need two or more functions, it is common to define a new method with the type on the first argument like Base.parse. | 22:55:07 | |
In reply to @qwjyh:matrix.orgThank you for your answer | 23:29:20 | |
I admit I doesn’t know the syntax you are using, I will try to understand how it works | 23:30:01 | |
I mean the "(v::MyType)" | 23:30:14 | |
| 23:57:18 | |
When I try like that :
| 23:58:20 | |
29 Dec 2023 | ||
Ok I found how to do that, it should be :
But I admit I don’t really understand why. | 00:04:23 |