Skip to content
#

The Julia Language

julia logo

Julia is a high-level dynamic programming language designed to address the needs of high-performance numerical analysis and computational science. It provides a sophisticated compiler, distributed parallel execution, numerical accuracy, and an extensive mathematical function library.

Here are 2,932 public repositories matching this topic...

julia
KristofferC
KristofferC commented Nov 1, 2020

One of the main use cases of lpad and rpad is, at least for me personally, to align things in the terminal. However, lpad and rpad are defined (and documented) to work in terms of code units (i.e. they call length on the input string) which means that when length and textwidth disagree, you get unaligned output:

julia> s1 = "⟨k|H₁|k̃⟩"
"⟨k|H₁|k̃⟩"
julia> s2 = "⟨k|H₁|k⟩"
"⟨
dash
JuMP.jl

Created by Jeff Bezanson, Stefan Karpinski, Viral B. Shah, Alan Edelman

Released February 14, 2012

Organization
JuliaLang
Website
julialang.org
Wikipedia
Wikipedia

Related Topics

language