Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0000854453_patched_stream_One #4

Open
wants to merge 29 commits into
base: Stream
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
2532b79
Add files via upload
BCH1513 May 12, 2021
964338a
Create codeql-analysis.yml
BCH1513 May 12, 2021
55b5840
Create maven-publish.yml
BCH1513 May 12, 2021
c4b85e1
Create GuassNewtonOptimizer
BCH1513 May 13, 2021
7a94c1e
Update GuassNewtonOptimizer
BCH1513 May 13, 2021
75fa9d6
Update GuassNewtonOptimizer
BCH1513 May 13, 2021
dded74d
Update LQuickSort.java
BCH1513 May 13, 2021
528cfdd
Update LQuickSort.java
BCH1513 May 13, 2021
64228d8
Update LQuickSort.java
BCH1513 May 13, 2021
7f2c5d5
Update LQuickSort.java
BCH1513 May 13, 2021
22109a8
Update LQuickSort.java
BCH1513 May 13, 2021
e8a37cc
Update LQuickSort.java
BCH1513 May 13, 2021
28f6f8c
Update LQuickSort.java
BCH1513 May 13, 2021
2e346e6
Update LQuickSort.java
BCH1513 May 13, 2021
03c4be8
Update LQuickSort.java
BCH1513 May 13, 2021
bc4bc08
Update LQuickSort.java
BCH1513 May 13, 2021
da536f3
Update ReplaceObject.java
BCH1513 May 17, 2021
2d98a60
Add files via upload
BCH1513 May 24, 2021
26fa8e2
Rename boot3D.swift to .boot3D.swift
BCH1513 May 24, 2021
1d1265c
Update README.md
BCH1513 Sep 20, 2021
01dc7fe
Update README.md
BCH1513 Sep 20, 2021
b74722e
Update LQuickSort.java
BCH1513 Sep 20, 2021
15bc40d
Update LQuickSort.java
BCH1513 Sep 20, 2021
eaf404a
Rename GuassNewtonOptimizer to GuassNewtonOptimizer_
BCH1513 Sep 20, 2021
dc118a0
Update L1Projection.java
BCH1513 Sep 20, 2021
531134d
Add files via upload
0000854453 Jun 22, 2023
e983017
Update EnableReplaceObj
0000854453 Dec 12, 2023
1e38d2b
Update OptimiseWithInitialValueOf1.java
0000854453 Oct 1, 2024
8f26e17
Merge pull request #2 from 0000854453:0000854453-patch-2
0000854453 Jan 5, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
115 changes: 115 additions & 0 deletions .boot3D.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
var axioms:Set [int:String] = [1:"",2:"'x','x','x','y','y','y','z','z','z','x','y','x','y','x','z','z','x','y','z','z','y','y','y','z','xx','yy','zz','yx','yy','yz','zx','zy','zz','xxx','yyy','zzz','xyx','yzy','zyz','xzx','yzy','zyz','xxy','yyx','zzy','yxx','yyz','yzz'",3:"'x','x','x','y','y','y','z','z','z','x','y','x','y','x','z','z','x','y','z','z','y','y','y','z','xx','yy','zz','yx','yy','yz','zx','zy','zz','xxx','yyy','zzz','xyx','yzy','zyz','xzx','yzy','zyz','xxy','yyx','zzy','yxx','yyz','yzz'",4:"'x','x','x','y','y','y','z','z','z','x','y','x','y','x','z','z','x','y','z','z','y','y','y','z','xx','yy','zz','yx','yy','yz','zx','zy','zz','xxx','yyy','zzz','xyx','yzy','zyz','xzx','yzy','zyz','xxy','yyx','zzy','yxx','yyz','yzz'",5:""]

let Rotations: [int] = ["'0'","'1'","'2'","'3'","'4'","'5'","'6'","'7'","'8'","'9'","'10'","'11'","'12'","'13'","'14'","'15'","'16'","'17'","'18'","'19'","'20'","'21'","'22'","'23'","'24'","'25'","'26'","'27'","'28'","'29'","'30'","'31'","'32'","'33'","'34'","'35'","'36'","'37'"]

let dimensions : [int] = ["'0'","'1'","'2'","'3'"]

var isometries:Set
[int:String:int]
=
["''":"":37
'rotations':"+++":1,
'dimensions':">>>":2,
'rotations':"+++":3,
'axioms':"*":4,
'rotations':">>>":5,
'dimensions':"+++":6,
'rotations':">>>":7,
'axioms':"*":8,
'rotations':"+++":9,
'dimensions':"<<<":10,
'rotations':"+++":11,
'axioms':"":12,
'rotations':"<<<":13,
'dimensions':"+++":14,
'rotations':">>>":15,
'axioms':"*":16,
'rotations':">>>":17,
'dimensions':"+++":18,
'rotations':">>>":19,
'axioms':"*":20,
'rotations':"+++":21,
'dimensions':"+++":22,
'rotations':"+++":23,
'axioms':"*":24,
'rotations':"<<<":25,
'dimensions':"<<<":26,
'axioms':"<<<":27,
'deminsions':"*":28,
'rotations':"*":29,
'axioms':"*":30,
'dimensions':">>>":31,
'rotations':">>>":32,
'axioms':">>>":33,
'dimensions':"=>>":34,
'rotations':"&<<":35,
'axioms':"",36]
let off=isoMetries[36]
switch on {
case isoMetries[1]
print(isoMetries[2])
case isoMetries[2]
print(isoMetries[3])
case isoMetries[3]
print(isoMetries[4])
case isoMetries[4]
print(isoMetries[5])
case isoMetries[5]
print(isoMetries[6])
case isoMetries[6]
print(isoMetries[7])
case isoMetries[7]
print(isoMetries[8])
case isoMetries[8]
print(isoMetries[9])
case isoMetries[9]
print(isoMetries[10])
case isoMetries[11]
print(isoMetries[12])
case isoMetries[12]
print(isoMetries[13])
case isoMetries[13]
print(isoMetries[14])
case isoMetries[14]
print(isoMetries[15])
case isoMetries[15]
print(isoMetries[16])
case isoMetries[16]
print(isoMetries[17])
case isoMetries[17]
print(isoMetries[18])
case isoMetries[18]
print(isoMetries[19])
case isoMetries[19]
print(isoMetries[20])
case isoMetries[21]
print(isoMetries[22])
case isoMetries[22]
print(isoMetries[23])
case isoMetries[23]
print(isoMetries[24])
case isoMetries[24]
print(isoMetries[25])
case isoMetries[25]
print(isoMetries[26])
case isoMetries[26]
print(isoMetries[27])
case isoMetries[27]
print(isoMetries[28])
case isoMetries[28]
print(isoMetries[29])
case isoMetries[29]
print(isoMetries[30])
case isoMetries[31]
print(isoMetries[32])
case isoMetries[32]
print(isoMetries[33])
case isoMetries[33]
print(isoMetries[34])
case isoMetries[34]
print(isoMetries[35])
case isoMetries[35]
print(isoMetries[37])
default:
print(off)
}
71 changes: 71 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"

on:
push:
branches: [ main ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ main ]
schedule:
- cron: '24 8 * * 0'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'java' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
# Learn more:
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed

steps:
- name: Checkout repository
uses: actions/checkout@v2

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

#- run: |
# make bootstrap
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
34 changes: 34 additions & 0 deletions .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# This workflow will build a package using Maven and then publish it to GitHub packages when a release is created
# For more information see: https://github.com/actions/setup-java/blob/main/docs/advanced-usage.md#apache-maven-with-a-settings-path

name: Maven Package

on:
release:
types: [created]

jobs:
build:

runs-on: ubuntu-latest
permissions:
contents: read
packages: write

steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'adopt'
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
settings-path: ${{ github.workspace }} # location for the settings.xml file

- name: Build with Maven
run: mvn -B package --file pom.xml

- name: Publish to GitHub Packages Apache Maven
run: mvn deploy -s $GITHUB_WORKSPACE/settings.xml
env:
GITHUB_TOKEN: ${{ github.token }}
30 changes: 30 additions & 0 deletions .github/workflows/samsung,s5pv210-chipid.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/hwinfo/samsung,s5pv210-chipid.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Samsung S5PV210 SoC ChipID

maintainers:
- Krzysztof Kozlowski <[email protected]>

properties:
compatible:
const: samsung,s5pv210-chipid

reg:
maxItems: 1

required:
- compatible
- reg

additionalProperties: false

examples:
- |
chipid@e0000000 {
compatible = "samsung,s5pv210-chipid";
reg = <0xe0000000 0x1000>;
};
11 changes: 11 additions & 0 deletions EnableReplaceObject.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import "com.creation.srcdir";

public class EnableReplaceObject{
protected boolean enableReplaceObject(boolean enable)
throws SecurityException;
this.enableReplaceObject(){L1Projection.enableReplaceObject(boolean enable);
L2Projection.enableReplaceObject(boolean enable);
L3Projection.enableReplaceObject(boolean enable);
L4Projection.enableReplaceObject(boolean enable);
L5Projection.enableReplaceObject(boolean enable);}
return 0;
1 change: 1 addition & 0 deletions FindY.java
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
public abstract double findY(double x, double[] b);
8 changes: 8 additions & 0 deletions GuassNewton.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
GaussNewton gaussNewton = new GaussNewton() {

@Override
public double findY(double x, double[] b) {
// y = (x * a1) / (a2 + x)
return (x * b[0]) / (b[1] + x);
}
;
1 change: 1 addition & 0 deletions GuassNewtonOptimizer_
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

11 changes: 11 additions & 0 deletions Jacob.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
public double[][] jacob(double[] b, double[][] x, int numberOfObservations) {
int numberOfVariables = b.length;
double[][] jc = new double[numberOfObservations][numberOfVariables];

for (int i = 0; i < numberOfObservations; i++) {
for (int j = 0; j < numberOfVariables; j++) {
jc[i][j] = derivative(x[i][0], b, j);
}
}
return jc;
};
5 changes: 4 additions & 1 deletion L1Projection.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,8 @@
@overrides L1Projection

protected class L1Projection{
new Projection = L1ProjectionOutput;}
new L1Projection = L1ProjectionOutput_;

L1ProjectionOutput(int L1Projection,int >>>,int L1Projection_){
const Output = "L1Projection_";
;
28 changes: 15 additions & 13 deletions LQuickSort.java
Original file line number Diff line number Diff line change
@@ -1,20 +1,22 @@
import com.java.base.*;
import "L1ProjectionOutput.java";
import "L2ProjectionOutput.java";
import "L3ProjectionOutput.java";
import "L4ProjectionOutput.java";
import "L5ProjectionOutput.java";

public static Arr[N];
public static int low;
public static int high;
public static LArr[L1ProjectionOutput,L2ProjectionOutput,L3ProjectionOutput,L4ProjectionOutput,L5ProjectionOutput];
public static final low = L1ProjectionOutput;
public static final high = L5ProjectionOutput;
public static N = LArr[n];
public static LArr[N,"L1ProjectionOutput","L2ProjectionOutput","L3ProjectionOutput","L4ProjectionOutput","L5ProjectionOutput"];
public static final low = LArr[1];
public static final high = LArr[5];
public static N = LArr[];

public class quicksort(){
new quicksort = Quicksort();
Quicksort(){
for(n>>LArr.indexOf(Arr[N])<=LArr[5])==
true;
return(LArr[N]-1);
for(n<<LArr.indexOf(Arr[N])>=LArr[1])==
true;
return(LArr[N]+1)};
return Quicksort();
this.Quicksort(LArr[n],n++1,n--1,n<=5){
for(n>=low);
then(n++1);
for(n<=high);
then(n--1)};
return quicksort(N);
Loading