initial push
This commit is contained in:
@@ -0,0 +1,80 @@
|
||||
/**++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
*
|
||||
* PANIC
|
||||
* Portable Algorithms and Numerics In C++
|
||||
*
|
||||
* Scientific computing from scratch, with feeling.
|
||||
*
|
||||
* Copyright (c) 2026 Michelle Bausager
|
||||
*
|
||||
* This file is part of PANIC.
|
||||
*
|
||||
* PANIC is free software licensed under the GNU General Public License v3.0 or later.
|
||||
* You may redistribute and/or modify it under the terms of the GPL.
|
||||
*
|
||||
* PANIC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
|
||||
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
* See the LICENSE file for the full license text.
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
*
|
||||
*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
*
|
||||
* Project Name: PANIC
|
||||
* Module Name: math
|
||||
* File Name: sqrt_serial.c
|
||||
* Revision: 0.1.0
|
||||
* Date: <yyyy-mm-dd>
|
||||
* Author: Michelle Bausager
|
||||
*
|
||||
* Description:
|
||||
* <short description of what this file/module does>
|
||||
*
|
||||
*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
|
||||
#ifndef __SQRT_SERIAL_H_
|
||||
#define __SQRT_SERIAL_H_
|
||||
//---------------------------------------------------------------------------------------------------------------------------
|
||||
// INCLUDE FILE
|
||||
//---------------------------------------------------------------------------------------------------------------------------
|
||||
// includes like:
|
||||
// #include <stdint.h>
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------------
|
||||
// DEFINE DESCRIPTION
|
||||
//---------------------------------------------------------------------------------------------------------------------------
|
||||
// difinitions like:
|
||||
// #define TEST_FALG 1
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------------
|
||||
// ENUM DESCRIPTION
|
||||
//---------------------------------------------------------------------------------------------------------------------------
|
||||
// LIKE
|
||||
//typedef enum
|
||||
//{
|
||||
// eConfDac0 = 0x00,
|
||||
// eConfDac1 = 0x01,
|
||||
// eConfDac2 = 0x02
|
||||
//} enDebugBoardDacType_t;
|
||||
|
||||
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------------
|
||||
// VARIABLE DESCRIPTION
|
||||
//---------------------------------------------------------------------------------------------------------------------------
|
||||
// Variable difinition like:
|
||||
// static uint32_t AmountOfCool = 0;
|
||||
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------------
|
||||
// FUNCTION PROTOTYPE
|
||||
//---------------------------------------------------------------------------------------------------------------------------
|
||||
// Function prototypes like:
|
||||
T sqrt(T c);
|
||||
|
||||
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------------
|
||||
// End of module
|
||||
//---------------------------------------------------------------------------------------------------------------------------
|
||||
#endif
|
||||
|
||||
@@ -0,0 +1,80 @@
|
||||
/**++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
*
|
||||
* PANIC
|
||||
* Portable Algorithms and Numerics In C++
|
||||
*
|
||||
* Scientific computing from scratch, with feeling.
|
||||
*
|
||||
* Copyright (c) 2026 Michelle Bausager
|
||||
*
|
||||
* This file is part of PANIC.
|
||||
*
|
||||
* PANIC is free software licensed under the GNU General Public License v3.0 or later.
|
||||
* You may redistribute and/or modify it under the terms of the GPL.
|
||||
*
|
||||
* PANIC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
|
||||
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
* See the LICENSE file for the full license text.
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
*
|
||||
*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
*
|
||||
* Project Name: PANIC
|
||||
* Module Name: math
|
||||
* File Name: sqrt_serial.c
|
||||
* Revision: 0.1.0
|
||||
* Date: <yyyy-mm-dd>
|
||||
* Author: Michelle Bausager
|
||||
*
|
||||
* Description:
|
||||
* <short description of what this file/module does>
|
||||
*
|
||||
*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
|
||||
#ifndef __SQRT_SERIAL_H_
|
||||
#define __SQRT_SERIAL_H_
|
||||
//---------------------------------------------------------------------------------------------------------------------------
|
||||
// INCLUDE FILE
|
||||
//---------------------------------------------------------------------------------------------------------------------------
|
||||
// includes like:
|
||||
// #include <stdint.h>
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------------
|
||||
// DEFINE DESCRIPTION
|
||||
//---------------------------------------------------------------------------------------------------------------------------
|
||||
// difinitions like:
|
||||
// #define TEST_FALG 1
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------------
|
||||
// ENUM DESCRIPTION
|
||||
//---------------------------------------------------------------------------------------------------------------------------
|
||||
// LIKE
|
||||
//typedef enum
|
||||
//{
|
||||
// eConfDac0 = 0x00,
|
||||
// eConfDac1 = 0x01,
|
||||
// eConfDac2 = 0x02
|
||||
//} enDebugBoardDacType_t;
|
||||
|
||||
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------------
|
||||
// VARIABLE DESCRIPTION
|
||||
//---------------------------------------------------------------------------------------------------------------------------
|
||||
// Variable difinition like:
|
||||
// static uint32_t AmountOfCool = 0;
|
||||
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------------
|
||||
// FUNCTION PROTOTYPE
|
||||
//---------------------------------------------------------------------------------------------------------------------------
|
||||
// Function prototypes like:
|
||||
T sqrt(T c);
|
||||
|
||||
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------------
|
||||
// End of module
|
||||
//---------------------------------------------------------------------------------------------------------------------------
|
||||
#endif
|
||||
|
||||
@@ -0,0 +1,80 @@
|
||||
/**++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
*
|
||||
* PANIC
|
||||
* Portable Algorithms and Numerics In C++
|
||||
*
|
||||
* Scientific computing from scratch, with feeling.
|
||||
*
|
||||
* Copyright (c) 2026 Michelle Bausager
|
||||
*
|
||||
* This file is part of PANIC.
|
||||
*
|
||||
* PANIC is free software licensed under the GNU General Public License v3.0 or later.
|
||||
* You may redistribute and/or modify it under the terms of the GPL.
|
||||
*
|
||||
* PANIC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
|
||||
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
* See the LICENSE file for the full license text.
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
*
|
||||
*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
*
|
||||
* Project Name: PANIC
|
||||
* Module Name: math
|
||||
* File Name: sqrt_serial.c
|
||||
* Revision: 0.1.0
|
||||
* Date: <yyyy-mm-dd>
|
||||
* Author: Michelle Bausager
|
||||
*
|
||||
* Description:
|
||||
* <short description of what this file/module does>
|
||||
*
|
||||
*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
|
||||
#ifndef __SQRT_SERIAL_H_
|
||||
#define __SQRT_SERIAL_H_
|
||||
//---------------------------------------------------------------------------------------------------------------------------
|
||||
// INCLUDE FILE
|
||||
//---------------------------------------------------------------------------------------------------------------------------
|
||||
// includes like:
|
||||
// #include <stdint.h>
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------------
|
||||
// DEFINE DESCRIPTION
|
||||
//---------------------------------------------------------------------------------------------------------------------------
|
||||
// difinitions like:
|
||||
// #define TEST_FALG 1
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------------
|
||||
// ENUM DESCRIPTION
|
||||
//---------------------------------------------------------------------------------------------------------------------------
|
||||
// LIKE
|
||||
//typedef enum
|
||||
//{
|
||||
// eConfDac0 = 0x00,
|
||||
// eConfDac1 = 0x01,
|
||||
// eConfDac2 = 0x02
|
||||
//} enDebugBoardDacType_t;
|
||||
|
||||
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------------
|
||||
// VARIABLE DESCRIPTION
|
||||
//---------------------------------------------------------------------------------------------------------------------------
|
||||
// Variable difinition like:
|
||||
// static uint32_t AmountOfCool = 0;
|
||||
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------------
|
||||
// FUNCTION PROTOTYPE
|
||||
//---------------------------------------------------------------------------------------------------------------------------
|
||||
// Function prototypes like:
|
||||
T sqrt(T c);
|
||||
|
||||
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------------
|
||||
// End of module
|
||||
//---------------------------------------------------------------------------------------------------------------------------
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user