Skip to content
#

programming-language

Here are 3,807 public repositories matching this topic...

julia
sethaxen
sethaxen commented Feb 28, 2021

The current implementation of lyap for complex scalar arguments is incorrect. We can see this by comparing the result obtained using 1x1 matrices vs scalars:

julia> A = (1.0+2.0im)*ones(1,1);

julia> C = (3.0+4.0im)*ones(1,1);

julia> lyap(A, C)  # expected
1×1 Matrix{ComplexF64}:
 -1.5 - 2.0im

julia> lyap(A[1], C[1])  # wrong! 
-1.1 + 0.2im

julia> -C[1] / 2real(A[1])  
keenancrane
keenancrane commented Dec 16, 2020

Currently we've implemented a bunch of functions and constraints in a "lazy evaluation" fashion, i.e., whenever we need something for a Style program, we implement it in Penrose. We're getting to the point where we should really have a more complete/comprehensive list (e.g., that users can call at will).

How do we come up with this list? One natural idea is to simply pick some libraries, and

Red is a next-generation programming language strongly inspired by Rebol, but with a broader field of usage thanks to its native-code compiler, from system programming to high-level scripting and cross-platform reactive GUI, while providing modern support for concurrency, all in a zero-install, zero-config, single 1MB file!

  • Updated Mar 2, 2021
  • Red
pchiusano
pchiusano commented Feb 19, 2021

Minor cleanup of nomenclature. In Type.hs we have:

vectorRef :: Reference
vectorRef = Reference.Builtin "Sequence"

vector :: Ord v => a -> Type v a
vector a = ref a vectorRef

We have to keep the Builtin "Sequence" as is, since otherwise that changes the identity of the type, but the names of vectorRef and vector should be changed to use the list nomenclature:

精心收集并分类整理的Swift开发学习资源,包括Apple官方提供的示例代码和文档,以及github上的项目和国内外开发者的技术博客。欢迎提交pull-request一起维护。https://t.me/SwiftCN QQ交流群 32958950 申请请注明开发经验

  • Updated Feb 3, 2021
  • Swift

Improve this page

Add a description, image, and links to the programming-language topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the programming-language topic, visit your repo's landing page and select "manage topics."

Learn more